diff options
author | Rohit Ashiwal <rohit.ashiwal265@gmail.com> | 2019-07-02 14:41:28 +0530 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-07-02 12:08:08 -0700 |
commit | de81ca3f36b0f1db8bd615c98f2a5c819092c275 (patch) | |
tree | 1fde87a50327b52f041de0bc8b79bfcce7c4d647 /Documentation/git-cherry-pick.txt | |
parent | sequencer: use argv_array in reset_merge (diff) | |
download | tgif-de81ca3f36b0f1db8bd615c98f2a5c819092c275.tar.xz |
cherry-pick/revert: add --skip option
git am or rebase have a --skip flag to skip the current commit if the
user wishes to do so. During a cherry-pick or revert a user could
likewise skip a commit, but needs to use 'git reset' (or in the case
of conflicts 'git reset --merge'), followed by 'git (cherry-pick |
revert) --continue' to skip the commit. This is more annoying and
sometimes confusing on the users' part. Add a `--skip` option to make
skipping commits easier for the user and to make the commands more
consistent.
In the next commit, we will change the advice messages hence finishing
the process of teaching revert and cherry-pick "how to skip commits".
Signed-off-by: Rohit Ashiwal <rohit.ashiwal265@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-cherry-pick.txt')
-rw-r--r-- | Documentation/git-cherry-pick.txt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Documentation/git-cherry-pick.txt b/Documentation/git-cherry-pick.txt index 754b16ce0c..83ce51aedf 100644 --- a/Documentation/git-cherry-pick.txt +++ b/Documentation/git-cherry-pick.txt @@ -10,9 +10,7 @@ SYNOPSIS [verse] 'git cherry-pick' [--edit] [-n] [-m parent-number] [-s] [-x] [--ff] [-S[<keyid>]] <commit>... -'git cherry-pick' --continue -'git cherry-pick' --quit -'git cherry-pick' --abort +'git cherry-pick' (--continue | --skip | --abort | --quit) DESCRIPTION ----------- |