1--commit::
2--no-commit::
3Perform the merge and commit the result. This option can
4be used to override --no-commit.
5+
6With --no-commit perform the merge but pretend the merge
7failed and do not autocommit, to give the user a chance to
8inspect and further tweak the merge result before committing.
910
--edit::
11-e::
12Invoke editor before committing successful merge to further
13edit the default merge message.
1415
--ff::
16When the merge resolves as a fast-forward, only update the branch
17pointer, without creating a merge commit. This is the default
18behavior.
1920
--no-ff::
21Create a merge commit even when the merge resolves as a
22fast-forward.
2324
--ff-only::
25Refuse to merge and exit with a non-zero status unless the
26current `HEAD` is already up-to-date or the merge can be
27resolved as a fast-forward.
2829
--log[=<n>]::
30--no-log::
31In addition to branch names, populate the log message with
32one-line descriptions from at most <n> actual commits that are being
33merged. See also linkgit:git-fmt-merge-msg[1].
34+
35With --no-log do not list one-line descriptions from the
36actual commits being merged.
3738
39
--stat::
40-n::
41--no-stat::
42Show a diffstat at the end of the merge. The diffstat is also
43controlled by the configuration option merge.stat.
44+
45With -n or --no-stat do not show a diffstat at the end of the
46merge.
4748
--squash::
49--no-squash::
50Produce the working tree and index state as if a real
51merge happened (except for the merge information),
52but do not actually make a commit or
53move the `HEAD`, nor record `$GIT_DIR/MERGE_HEAD` to
54cause the next `git commit` command to create a merge
55commit. This allows you to create a single commit on
56top of the current branch whose effect is the same as
57merging another branch (or more in case of an octopus).
58+
59With --no-squash perform the merge and commit the result. This
60option can be used to override --squash.
6162
-s <strategy>::
63--strategy=<strategy>::
64Use the given merge strategy; can be supplied more than
65once to specify them in the order they should be tried.
66If there is no `-s` option, a built-in list of strategies
67is used instead ('git merge-recursive' when merging a single
68head, 'git merge-octopus' otherwise).
6970
-X <option>::
71--strategy-option=<option>::
72Pass merge strategy specific option through to the merge
73strategy.
7475
--summary::
76--no-summary::
77Synonyms to --stat and --no-stat; these are deprecated and will be
78removed in the future.
7980
ifndef::git-pull[]
81-q::
82--quiet::
83Operate quietly. Implies --no-progress.
8485
-v::
86--verbose::
87Be verbose.
8889
--progress::
90--no-progress::
91Turn progress on/off explicitly. If neither is specified,
92progress is shown if standard error is connected to a terminal.
93Note that not all merge strategies may support progress
94reporting.
9596
endif::git-pull[]