]> git.ipfire.org Git - thirdparty/git.git/blame - Documentation/git-merge.txt
Added a few examples to git-pull man page.
[thirdparty/git.git] / Documentation / git-merge.txt
CommitLineData
0f69be53
JH
1git-merge(1)
2============
0f69be53
JH
3
4NAME
5----
6git-merge - Grand Unified Merge Driver
7
8
9SYNOPSIS
10--------
37465016 11'git-merge' [-n] [--no-commit] [-s <strategy>]... <msg> <head> <remote> <remote>...
0f69be53
JH
12
13
14DESCRIPTION
15-----------
16This is the top-level user interface to the merge machinery
17which drives multiple merge strategy scripts.
18
19
20OPTIONS
21-------
37465016 22include::merge-pull-opts.txt[]
0f69be53 23
3c64314c
PB
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.
28
0f69be53
JH
29<head>::
30 our branch head commit.
31
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.
36
37
3c64314c
PB
38SEE ALSO
39--------
40gitlink:git-fmt-merge-msg[1]
41
42
0f69be53
JH
43Author
44------
45Written by Junio C Hamano <junkio@cox.net>
46
47
48Documentation
49--------------
50Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
51
52GIT
53---
a7154e91 54Part of the gitlink:git[7] suite