今日份的学习笔记:如何跟踪远端仓库,并且上传代码
Step1 git add .
Description: This command updates the index using the current content found in the working tree, to prepare the content staged for the next commit
Step2 git commit -m 'log message'
Description: Stores the current contents of the index in a new commit along with a log message from the user describing the changes.
Step3 git remote add <remote name> <a remote repository URL>
Description: Manage the set of repositories ("remotes") whose branches you track.
Step4 git push origin <remote branch>
Description: Updates remote refs using local refs, while sending objects necessary to complete the given refs.