Staging
v0.8.1
https://github.com/git/git
Raw File
Tip revision: e6363a4992637267ef212d7c709ede17d4122e0d authored by Junio C Hamano on 01 March 2013, 21:15:29 UTC
Git 1.8.1.5
Tip revision: e6363a4
git-merge-tree.txt
git-merge-tree(1)
=================

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


SYNOPSIS
--------
[verse]
'git merge-tree' <base-tree> <branch1> <branch2>

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.

GIT
---
Part of the linkgit:git[1] suite
back to top