git常使用的流程:
假设在aaa分支上开发完了代码:
- git add --all
- git commit -m"xxx"
- git pull --rebase
- git push origin HEAD:aaa
在如上正常流程中,冲突发生在第三步,整体步骤:
- git add --all
- git commit -m"xxx"
- git pull --rebase
- 处理冲突
- git add -u
- git rebase --continue
- git push origin HEAD:aaa
git冲突解决
原文:http://www.cnblogs.com/java-zhao/p/7737263.html