blob: 9f1fc825503a7c972fe162f4e2a87781e0f783f3 [file] [log] [blame]
Junio C Hamano591dc6a2007-05-29 09:18:191--summary::
2Show a diffstat at the end of the merge. The diffstat is also
3controlled by the configuration option merge.diffstat.
4
Junio C Hamano1a4e8412005-12-27 08:17:235-n, \--no-summary::
6Do not show diffstat at the end of the merge.
7
8--no-commit::
9Perform the merge but pretend the merge failed and do
10not autocommit, to give the user a chance to inspect and
11further tweak the merge result before committing.
12
Junio C Hamano1b50ce92007-10-03 12:05:5313--commit::
14Perform the merge and commit the result. This option can
15be used to override --no-commit.
16
Junio C Hamano3901ffb2006-06-26 23:46:5317--squash::
18Produce the working tree and index state as if a real
19merge happened, but do not actually make a commit or
20move the `HEAD`, nor record `$GIT_DIR/MERGE_HEAD` to
21cause the next `git commit` command to create a merge
22commit. This allows you to create a single commit on
23top of the current branch whose effect is the same as
24merging another branch (or more in case of an octopus).
Junio C Hamano1a4e8412005-12-27 08:17:2325
Junio C Hamano1b50ce92007-10-03 12:05:5326--no-squash::
27Perform the merge and commit the result. This option can
28be used to override --squash.
29
30--no-ff::
31Generate a merge commit even if the merge resolved as a
32fast-forward.
33
34--ff::
35Do not generate a merge commit if the merge resolved as
36a fast-forward, only update the branch pointer. This is
37the default behavior of git-merge.
38
Junio C Hamano1a4e8412005-12-27 08:17:2339-s <strategy>, \--strategy=<strategy>::
40Use the given merge strategy; can be supplied more than
41once to specify them in the order they should be tried.
42If there is no `-s` option, a built-in list of strategies
43is used instead (`git-merge-recursive` when merging a single
44head, `git-merge-octopus` otherwise).