Refactor merge strategies into separate includable file.
[git/trast.git] / Documentation / git-merge.txt
blobb3ef19bae44268a3a2159f9ccfbce51314312ab7
1 git-merge(1)
2 ============
4 NAME
5 ----
6 git-merge - Grand Unified Merge Driver
9 SYNOPSIS
10 --------
11 'git-merge' [-n] [--no-commit] [-s <strategy>]... <msg> <head> <remote> <remote>...
14 DESCRIPTION
15 -----------
16 This is the top-level user interface to the merge machinery
17 which drives multiple merge strategy scripts.
20 OPTIONS
21 -------
22 include::merge-pull-opts.txt[]
24 <msg>::
25         The commit message to be used for the merge commit (in case
26         it is created). The `git-fmt-merge-msg` script can be used
27         to give a good default for automated `git-merge` invocations.
29 <head>::
30         our branch head commit.
32 <remote>::
33         other branch head merged into our branch.  You need at
34         least one <remote>.  Specifying more than one <remote>
35         obviously means you are trying an Octopus.
37 include::merge-strategies.txt[]
40 SEE ALSO
41 --------
42 gitlink:git-fmt-merge-msg[1], gitlink:git-pull[1]
45 Author
46 ------
47 Written by Junio C Hamano <junkio@cox.net>
50 Documentation
51 --------------
52 Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
54 GIT
55 ---
56 Part of the gitlink:git[7] suite