Code Monkey home page Code Monkey logo

homework's Introduction

#Homework_For_Class8 ##作业上传步骤: ###1. 在桌面右击选择Git Bash Here,输入git clone https://git.oschina.net/class8/homework.git 命令,回车克隆仓库到本地; ###2. 找到对应的日期(留作业当天的日期)对应自己名字的文件夹,把自己的作业(不要压缩包,整个文件夹)放到文件夹里,每个自己的文件夹中默认有一个日报txt文件,大家把每天的日报写在里面; ###3. 在homework文件夹上右击,选择Git Bash Here; ###4. 输入git add .命令,回车把更改添加到本地暂存区; ###5. 输入git commit -m "本次提交说明"(本次提交说明可以是add+自己姓名)命令,回车把暂存区内容放到本地历史区; ###6. 输入git push (-u) origin master 命令,第一次向仓库提交需要加 -u 参数,回车把本地历史区内容推送到远程master分支; ###7. 浏览器刷新确认自己上传的内容已经在远程仓库里;

##强调 ###① 以上执行第4、5步之前或之后输入git status查看更改后的状态,第4步后会显示红色文件夹名称,第5步后会显示绿色文件夹名称 ###② 除第一次克隆仓库到本地执行以上第1步,之后提交时输入git pull origin master命令,回车拉取远程最新版本的仓库,这一步很重要,因为必须保证每次你需要提交时,你的本地是最新版本

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.