git remote -v:顯示remote URL git remote add pb git://github.com/paulboone/ticgit.git : Add Remote Repositories (git fetch pb)\ git pull [remote-name]:會自動merge git merge: http://blog.csdn.net/hudashi/article/details/7664631 **.erl -----add------>staged fill -------commit----------->git directory(repository) 提交之前先git diff git diff path/**.erl git diff --staged path/**.erl 比較staged文件和服務(wù)器上該文件的區(qū)別 add:一次add一個變化 git add -p path/**.erl :可以選擇add哪些變化 add到staging area之后再進行commit git commit -m "message" rebase: git fetch git rebase origin/master 解決沖突 git push --continue |
|