如何在执行merge / rebase后获得合并冲突的原因?

时间:2014-07-24 13:45:02

标签: git merge

Git merge / rebase显示冲突原因:

CONFLICT (delete/modify): res/layout/dialog_item.xml deleted in dialog and modified in HEAD. Version HEAD of res/layout/dialog_item.xml left in tree.
CONFLICT (content): Merge conflict in src/DialogAdapter.java

执行git merge / rebase后如何获取?

git status仅显示此信息的一部分

1 个答案:

答案 0 :(得分:1)

打开冲突文件并搜索标记

通常他们看起来像这样

>>>>>>> HEAD

<<<<<<BRANCH