mirror of
https://github.com/git/git
synced 2024-10-29 17:08:46 +00:00
de81ca3f36
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>
16 lines
472 B
Text
16 lines
472 B
Text
--continue::
|
|
Continue the operation in progress using the information in
|
|
`.git/sequencer`. Can be used to continue after resolving
|
|
conflicts in a failed cherry-pick or revert.
|
|
|
|
--skip::
|
|
Skip the current commit and continue with the rest of the
|
|
sequence.
|
|
|
|
--quit::
|
|
Forget about the current operation in progress. Can be used
|
|
to clear the sequencer state after a failed cherry-pick or
|
|
revert.
|
|
|
|
--abort::
|
|
Cancel the operation and return to the pre-sequence state.
|