Skip to content

Commit ab7e63e

Browse files
chriscoolgitster
authored andcommitted
Documentation: describe new cherry-pick --ff option
Signed-off-by: Christian Couder <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent b5c1a28 commit ab7e63e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Documentation/git-cherry-pick.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ git-cherry-pick - Apply the change introduced by an existing commit
77

88
SYNOPSIS
99
--------
10-
'git cherry-pick' [--edit] [-n] [-m parent-number] [-s] [-x] <commit>
10+
'git cherry-pick' [--edit] [-n] [-m parent-number] [-s] [-x] [--ff] <commit>
1111

1212
DESCRIPTION
1313
-----------
@@ -70,6 +70,10 @@ effect to your index in a row.
7070
--signoff::
7171
Add Signed-off-by line at the end of the commit message.
7272

73+
--ff::
74+
If the current HEAD is the same as the parent of the
75+
cherry-pick'ed commit, then a fast forward to this commit will
76+
be performed.
7377

7478
Author
7579
------

0 commit comments

Comments
 (0)