Add documentation for git-revert and git-cherry-pick.
* Added the -e option to the documentation of git-cherry-pick. * Added the -e and --no-commit option to git-revert. * Removed redundant case expression for -n as --no-edit (already taken by --no-commit). Signed-off-by: Nikolai Weibull <nikolai@bitwi.se> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
d972217457
commit
674b28085e
@ -20,7 +20,7 @@ OPTIONS
|
|||||||
<commit>::
|
<commit>::
|
||||||
Commit to cherry-pick.
|
Commit to cherry-pick.
|
||||||
|
|
||||||
--edit::
|
-e|--edit::
|
||||||
With this option, `git-cherry-pick` will let you edit the commit
|
With this option, `git-cherry-pick` will let you edit the commit
|
||||||
message prior committing.
|
message prior committing.
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ OPTIONS
|
|||||||
<commit>::
|
<commit>::
|
||||||
Commit to revert.
|
Commit to revert.
|
||||||
|
|
||||||
--edit::
|
-e|--edit::
|
||||||
With this option, `git-revert` will let you edit the commit
|
With this option, `git-revert` will let you edit the commit
|
||||||
message prior committing the revert. This is the default if
|
message prior committing the revert. This is the default if
|
||||||
you run the command from a terminal.
|
you run the command from a terminal.
|
||||||
@ -29,7 +29,7 @@ OPTIONS
|
|||||||
With this option, `git-revert` will not start the commit
|
With this option, `git-revert` will not start the commit
|
||||||
message editor.
|
message editor.
|
||||||
|
|
||||||
-n::
|
-n|--no-commit::
|
||||||
Usually the command automatically creates a commit with
|
Usually the command automatically creates a commit with
|
||||||
a commit log message stating which commit was reverted.
|
a commit log message stating which commit was reverted.
|
||||||
This flag applies the change necessary to revert the
|
This flag applies the change necessary to revert the
|
||||||
|
@ -38,7 +38,7 @@ do
|
|||||||
-e|--e|--ed|--edi|--edit)
|
-e|--e|--ed|--edi|--edit)
|
||||||
edit=-e
|
edit=-e
|
||||||
;;
|
;;
|
||||||
-n|--n|--no|--no-|--no-e|--no-ed|--no-edi|--no-edit)
|
--n|--no|--no-|--no-e|--no-ed|--no-edi|--no-edit)
|
||||||
edit=
|
edit=
|
||||||
;;
|
;;
|
||||||
-r|--r|--re|--rep|--repl|--repla|--replay)
|
-r|--r|--re|--rep|--repl|--repla|--replay)
|
||||||
|
Loading…
Reference in New Issue
Block a user