What do the egit merge modes mean?
It is not clear to me what these two options. My questions are.
- What do these options really mean?
- Under what circumstances would I choose one option over the other?
- Which HEAD does head refer to the HEAD of the branch I am rebasing on or the head of the branch I am rebasing?
- What do these merge modes correspond to in the command line version of egit?
One Solution collect form web for “What do the egit merge modes mean?”
The different modes are specific to Eclipse, and have no corresponding merge mode in command line. The difference between the modes is the following:
- If you use the workspace version, an editor will open with a single file containing all elements (both added and removed) in a single file, as the default git merge would do it. This is useful if there is no compare editor available for your file type.
- Using HEAD you can get a compare editor, where both your branches and the merged branches HEADS are displayed side-by-side, allowing merging using the Eclipse compare editor.
As I am using EGit with Java projects, the HEAD version option makes more sense to me; I believe, the other option is only there for some very specific reasons.