aboutsummaryrefslogtreecommitdiff
path: root/Documentation/git-cherry-pick.txt
diff options
context:
space:
mode:
authorPetr Baudis <pasky@suse.cz>2005-11-26 23:12:44 +0100
committerJunio C Hamano <junkio@cox.net>2005-12-04 16:34:35 -0800
commit8bf14d6ef9245f3b81d24cb7725a868f62343277 (patch)
tree33000c6d02b51071235ff646aee16aa9a16f1474 /Documentation/git-cherry-pick.txt
parent287f860054345505e4f737466279efa6c3ff04b5 (diff)
downloadgit-8bf14d6ef9245f3b81d24cb7725a868f62343277.tar.gz
git-8bf14d6ef9245f3b81d24cb7725a868f62343277.tar.xz
Document the --(no-)edit switch of git-revert and git-cherry-pick
This switch was not documented properly. I decided not to mention the --no-edit switch in the git-cherry-pick documentation since we always default to no editing. Signed-off-by: Petr Baudis <pasky@suse.cz> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-cherry-pick.txt')
-rw-r--r--Documentation/git-cherry-pick.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/Documentation/git-cherry-pick.txt b/Documentation/git-cherry-pick.txt
index 26e046779..5e0ef5ae0 100644
--- a/Documentation/git-cherry-pick.txt
+++ b/Documentation/git-cherry-pick.txt
@@ -7,7 +7,7 @@ git-cherry-pick - Apply the change introduced by an existing commit.
SYNOPSIS
--------
-'git-cherry-pick' [-n] [-r] <commit>
+'git-cherry-pick' [--edit] [-n] [-r] <commit>
DESCRIPTION
-----------
@@ -20,6 +20,10 @@ OPTIONS
<commit>::
Commit to cherry-pick.
+--edit::
+ With this option, `git-cherry-pick` will let you edit the commit
+ message prior committing.
+
-r::
Usually the command appends which commit was
cherry-picked after the original commit message when