]> git.ipfire.org Git - thirdparty/git.git/blame - Documentation/git-merge-tree.txt
Merge branch 'sg/commit-graph-usage-fix'
[thirdparty/git.git] / Documentation / git-merge-tree.txt
CommitLineData
c16e30c0
JH
1git-merge-tree(1)
2=================
3
4NAME
5----
6git-merge-tree - Show three-way merge without touching index
7
8
9SYNOPSIS
10--------
7791a1d9 11[verse]
b1889c36 12'git merge-tree' <base-tree> <branch1> <branch2>
c16e30c0
JH
13
14DESCRIPTION
15-----------
bb8040f9 16Reads three tree-ish, and output trivial merge results and
c16e30c0 17conflicting stages to the standard output. This is similar to
29b802aa 18what three-way 'git read-tree -m' does, but instead of storing the
c16e30c0
JH
19results in the index, the command outputs the entries to the
20standard output.
21
22This is meant to be used by higher level scripts to compute
29b802aa 23merge results outside of the index, and stuff the results back into the
c16e30c0 24index. For this reason, the output from the command omits
29b802aa 25entries that match the <branch1> tree.
c16e30c0 26
c16e30c0
JH
27GIT
28---
9e1f0a85 29Part of the linkgit:git[1] suite