Merge using EGit results in commit of all changes as done by the merger

心不动则不痛 提交于 2019-12-06 02:40:12

When a merge has conflicts, instead of automatically committing the merge result (as in the no-conflict case), the unconflicting files are staged and the files with conflicts are in "conflicting" state. Then you have to resolve the conflicts in each file and then stage it.

After you have resolved all conflicts (and staged the files), you have to commit the merge. When you are using the Git Staging view, you will see that the message changes to the merge message after resolving all conflicts. After that, press on the Commit icon in the toolbar.

Only then you can continue working on your commits.

Sounds like you did not commit the merge after you resolved all conflicts and now have a mix of the merge result and your own changes. Could this be the case?

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!