Git提交与恢复 提交修改 git add --all # 提交所有修改文件 git add file file # 提交部分修改文件 $ git status On branch master Your branch is up-to-date with 'origin/master'. Changes to be committed: (use "git reset HEAD <file>..." to unstage) modified: src/Makefile.a
http://stackoverflow.com/questions/4855561/difference-between-git-remote-add-and-git-clone git remote add just creates an entry in your git config that specifies a name for a particular URL. You must have an existing git repo to use this. git clone c