####1.内容冲突
1.冲突的情况
一般会有CONFLICT字样
git pull
CONFLICT (content): Merge conflict in xxx
Automatic merge failed; fix conflicts and then commit the result.
repo sync的报错
error: project mini/sample
需要进入报错的项目(git库)目录,然后执行git rebase解决
git rebase remote-branch-name
2.merge/patch的冲突解决
编辑冲突文件
然后git commit
3.rebase的冲突解决
git add -u
git rebase --continue (中间有冲突继续解决)
git rebase --skip (忽略命令)
git rebase --abort (返回rebase之前的状态)
注:rebase后不需要commit