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]:會(huì)自動(dòng)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一個(gè)變化
git add -p path/**.erl :可以選擇add哪些變化
add到staging area之后再進(jìn)行commit
git commit -m "message"
rebase:
git fetch
git rebase origin/master
解決沖突
git push --continue
本站僅提供存儲(chǔ)服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請
點(diǎn)擊舉報(bào)。