Documentation/git-pull.txt: Add subtitles above included option files
[git/git.git] / Documentation / merge-options.txt
CommitLineData
7f87aff2
TA
1-q::
2--quiet::
3 Operate quietly.
4
5-v::
6--verbose::
7 Be verbose.
8
d8abe148 9--stat::
51e7ecf4 10 Show a diffstat at the end of the merge. The diffstat is also
3e6c0a3f 11 controlled by the configuration option merge.stat.
51e7ecf4 12
3240240f
SB
13-n::
14--no-stat::
29b802aa 15 Do not show a diffstat at the end of the merge.
93d69d86 16
3240240f
SB
17--summary::
18--no-summary::
d8abe148
SG
19 Synonyms to --stat and --no-stat; these are deprecated and will be
20 removed in the future.
21
efb779f8
SG
22--log::
23 In addition to branch names, populate the log message with
24 one-line descriptions from the actual commits that are being
25 merged.
26
27--no-log::
28 Do not list one-line descriptions from the actual commits being
29 merged.
30
93d69d86
JL
31--no-commit::
32 Perform the merge but pretend the merge failed and do
33 not autocommit, to give the user a chance to inspect and
34 further tweak the merge result before committing.
35
d08af0ad
LH
36--commit::
37 Perform the merge and commit the result. This option can
38 be used to override --no-commit.
39
7d0c6887
JH
40--squash::
41 Produce the working tree and index state as if a real
f5d4c4d0
MG
42 merge happened (except for the merge information),
43 but do not actually make a commit or
7d0c6887
JH
44 move the `HEAD`, nor record `$GIT_DIR/MERGE_HEAD` to
45 cause the next `git commit` command to create a merge
46 commit. This allows you to create a single commit on
47 top of the current branch whose effect is the same as
48 merging another branch (or more in case of an octopus).
93d69d86 49
d08af0ad
LH
50--no-squash::
51 Perform the merge and commit the result. This option can
52 be used to override --squash.
53
d66424c4
LH
54--no-ff::
55 Generate a merge commit even if the merge resolved as a
56 fast-forward.
57
58--ff::
59 Do not generate a merge commit if the merge resolved as
60 a fast-forward, only update the branch pointer. This is
61 the default behavior of git-merge.
62
3240240f
SB
63-s <strategy>::
64--strategy=<strategy>::
93d69d86
JL
65 Use the given merge strategy; can be supplied more than
66 once to specify them in the order they should be tried.
67 If there is no `-s` option, a built-in list of strategies
ba020ef5
JN
68 is used instead ('git-merge-recursive' when merging a single
69 head, 'git-merge-octopus' otherwise).