Skip to content

Commit 5419127

Browse files
committed
Merge branch 'jc/doc-merge-options'
* jc/doc-merge-options: Documentation/merge-options.txt: group "ff" related options together
2 parents 31e3d83 + 690b297 commit 5419127

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

Documentation/merge-options.txt

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,18 @@ updated behaviour, the environment variable `GIT_MERGE_AUTOEDIT` can be
2424
set to `no` at the beginning of them.
2525

2626
--ff::
27+
When the merge resolves as a fast-forward, only update the branch
28+
pointer, without creating a merge commit. This is the default
29+
behavior.
30+
2731
--no-ff::
28-
Do not generate a merge commit if the merge resolved as
29-
a fast-forward, only update the branch pointer. This is
30-
the default behavior of git-merge.
31-
+
32-
With --no-ff Generate a merge commit even if the merge
33-
resolved as a fast-forward.
32+
Create a merge commit even when the merge resolves as a
33+
fast-forward.
34+
35+
--ff-only::
36+
Refuse to merge and exit with a non-zero status unless the
37+
current `HEAD` is already up-to-date or the merge can be
38+
resolved as a fast-forward.
3439

3540
--log[=<n>]::
3641
--no-log::
@@ -65,11 +70,6 @@ merge.
6570
With --no-squash perform the merge and commit the result. This
6671
option can be used to override --squash.
6772

68-
--ff-only::
69-
Refuse to merge and exit with a non-zero status unless the
70-
current `HEAD` is already up-to-date or the merge can be
71-
resolved as a fast-forward.
72-
7373
-s <strategy>::
7474
--strategy=<strategy>::
7575
Use the given merge strategy; can be supplied more than

0 commit comments

Comments
 (0)