Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

EGit Conflict Resolution GUI?

Tags:

git

eclipse

egit

I think I am just merely (coming from an SVN background) confused with how Git conflicts are handled by EGit within Eclipse.

I understand that it shows textually in the normal standard method by which to show conflicts as stated here: http://www.kernel.org/pub/software/scm/git/docs/git-merge.html#_how_conflicts_are_presented however it isn't very clean and with thousands of lines of code it becomes unmanageable to avoid accidently deleting lines that are not meant to be deleted.

Is there any GUI within EGit that can show me each conflict with an step over ability?

I have searched around and I heard about the merge tool however when I follow the instructions by right clicking on the top level node of the tree (i.e. right click models folder that has the <> type icon denoting a conflict, which has a conflicted file of User.php within it) the merge tool is greyed out.

Am I using the merge tool wrong?

Edit

I found out that a bug can cause EGit merge tool to not show: Why is the merge tool disabled in Eclipse for a EGit-managed project? however I am using EGit 1.3.0 so I should be way past this bug.

like image 748
Sammaye Avatar asked Aug 31 '12 11:08

Sammaye


People also ask

How do you resolve conflicts in KDiff3?

Choosing Input A, B, or C for All Conflicts If you want to decide every single delta yourself, you can "Set deltas to conflicts". Or if you want to return to the automatic choices of KDiff3 then select "Automatically solve simple conflicts". KDiff3 then restarts the merge.


1 Answers

I have given this question two days both here and on the EGit forums: http://www.eclipse.org/forums/index.php/t/371459/ unfortunately (even after everyone viewed it) no one had a real answer so I decided to solve my conflicts manually and just merge that way.

This way was, in reality, quicker and easier than trying to solve why the merge tools were not working for me, ironically.

like image 56
Sammaye Avatar answered Sep 18 '22 12:09

Sammaye