1GIT-MERGE-TREE(1) Git Manual GIT-MERGE-TREE(1)
2
3
4
6 git-merge-tree - Show three-way merge without touching index
7
9 git merge-tree <base-tree> <branch1> <branch2>
10
12 Reads three tree-ish, and output trivial merge results and conflicting
13 stages to the standard output. This is similar to what three-way git
14 read-tree -m does, but instead of storing the results in the index, the
15 command outputs the entries to the standard output.
16
17 This is meant to be used by higher level scripts to compute merge
18 results outside of the index, and stuff the results back into the
19 index. For this reason, the output from the command omits entries that
20 match the <branch1> tree.
21
23 Part of the git(1) suite
24
25
26
27Git 2.31.1 2021-03-26 GIT-MERGE-TREE(1)