标签:安全 合并 git fetch csdn bind rac log blog 新版本
当你要提交的远程git仓库及分支被别人更新了时候,要想提交自己的更新,先要同步别人的更新到本地:
git fetch origin master
git log -p master..origin/master
git merge origin/master
git pull origin master
上述命令其实相当于git fetch 和 git merge标签:安全 合并 git fetch csdn bind rac log blog 新版本
原文地址:http://www.cnblogs.com/happyfish321/p/7073540.html