]> asedeno.scripts.mit.edu Git - git.git/blobdiff - Documentation/merge-options.txt
Documentation: merge: add an overview
[git.git] / Documentation / merge-options.txt
index 48d04a5d8833a2c83f1dc754c798688b194de5b9..5064bf83fa20c12cc699e5432e6dd6d29eda22de 100644 (file)
@@ -49,13 +49,18 @@ merge.
 With --no-squash perform the merge and commit the result. This
 option can be used to override --squash.
 
+--ff-only::
+       Refuse to merge and exit with a non-zero status unless the
+       current `HEAD` is already up-to-date or the merge can be
+       resolved as a fast-forward.
+
 -s <strategy>::
 --strategy=<strategy>::
        Use the given merge strategy; can be supplied more than
        once to specify them in the order they should be tried.
        If there is no `-s` option, a built-in list of strategies
-       is used instead ('git-merge-recursive' when merging a single
-       head, 'git-merge-octopus' otherwise).
+       is used instead ('git merge-recursive' when merging a single
+       head, 'git merge-octopus' otherwise).
 
 --summary::
 --no-summary::