2005-09-09 08:15:47 +00:00
|
|
|
git-merge(1)
|
|
|
|
============
|
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
|
|
|
git-merge - Grand Unified Merge Driver
|
|
|
|
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
|
|
|
'git-merge' [-n] [-s <strategy>]... <msg> <head> <remote> <remote>...
|
|
|
|
|
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
This is the top-level user interface to the merge machinery
|
|
|
|
which drives multiple merge strategy scripts.
|
|
|
|
|
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
-------
|
|
|
|
-n::
|
|
|
|
Do not show diffstat at the end of the merge.
|
|
|
|
|
|
|
|
-s <strategy>::
|
|
|
|
use that merge strategy; can be given more than once to
|
|
|
|
specify them in the order they should be tried. If
|
|
|
|
there is no `-s` option, built-in list of strategies is
|
|
|
|
used instead.
|
|
|
|
|
2005-11-01 20:45:55 +00:00
|
|
|
<msg>::
|
|
|
|
The commit message to be used for the merge commit (in case
|
|
|
|
it is created). The `git-fmt-merge-msg` script can be used
|
|
|
|
to give a good default for automated `git-merge` invocations.
|
|
|
|
|
2005-09-09 08:15:47 +00:00
|
|
|
<head>::
|
|
|
|
our branch head commit.
|
|
|
|
|
|
|
|
<remote>::
|
|
|
|
other branch head merged into our branch. You need at
|
|
|
|
least one <remote>. Specifying more than one <remote>
|
|
|
|
obviously means you are trying an Octopus.
|
|
|
|
|
|
|
|
|
2005-11-01 20:45:55 +00:00
|
|
|
SEE ALSO
|
|
|
|
--------
|
|
|
|
gitlink:git-fmt-merge-msg[1]
|
|
|
|
|
|
|
|
|
2005-09-09 08:15:47 +00:00
|
|
|
Author
|
|
|
|
------
|
|
|
|
Written by Junio C Hamano <junkio@cox.net>
|
|
|
|
|
|
|
|
|
|
|
|
Documentation
|
|
|
|
--------------
|
|
|
|
Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
|
|
|
|
|
|
|
|
GIT
|
|
|
|
---
|
2005-09-19 10:10:51 +00:00
|
|
|
Part of the gitlink:git[7] suite
|