1. NAME

git-merge-tree - Show three-way merge without touching index

2. SYNOPSIS



git merge-tree <base-tree> <branch1> <branch2>

3. DESCRIPTION



Reads three treeish, and output trivial merge results and conflicting stages to the standard output. This is similar to what three-way git read-tree -m does, but instead of storing the results in the index, the command outputs the entries to the standard output.

This is meant to be used by higher level scripts to compute merge results outside of the index, and stuff the results back into the index. For this reason, the output from the command omits entries that match the <branch1> tree.

4. AUTHOR



Written by Linus Torvalds <\m[blue]\\fR\m[]\s-2\u[1]\d\s+2>

5. DOCUMENTATION



Documentation by Junio C Hamano and the git-list <\m[blue]\\fR\m[]\s-2\u[2]\d\s+2>.

6. GIT



Part of the git(1) suite

7. NOTES

1. 4
    mailto:

2. 4
    mailto: