Skip to content

Commit dd8175f

Browse files
Ralf Wildenhuesspearce
authored andcommitted
git-cherry-pick: improve description of -x.
Reword the first sentence of the description of -x, in order to make it easier to read and understand. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
1 parent c32f749 commit dd8175f

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Documentation/git-cherry-pick.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,12 @@ OPTIONS
2727
message prior committing.
2828

2929
-x::
30-
Cause the command to append which commit was
31-
cherry-picked after the original commit message when
32-
making a commit. Do not use this option if you are
33-
cherry-picking from your private branch because the
34-
information is useless to the recipient. If on the
30+
When recording the commit, append to the original commit
31+
message a note that indicates which commit this change
32+
was cherry-picked from. Append the note only for cherry
33+
picks without conflicts. Do not use this option if
34+
you are cherry-picking from your private branch because
35+
the information is useless to the recipient. If on the
3536
other hand you are cherry-picking between two publicly
3637
visible branches (e.g. backporting a fix to a
3738
maintenance branch for an older release from a

0 commit comments

Comments
 (0)