From 674b28085e89c3be37d07063b253069101669b55 Mon Sep 17 00:00:00 2001 From: Nikolai Weibull Date: Fri, 9 Dec 2005 00:28:05 +0100 Subject: 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 Signed-off-by: Junio C Hamano --- Documentation/git-cherry-pick.txt | 2 +- Documentation/git-revert.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'Documentation') diff --git a/Documentation/git-cherry-pick.txt b/Documentation/git-cherry-pick.txt index 744f2c9ce..4f323fa42 100644 --- a/Documentation/git-cherry-pick.txt +++ b/Documentation/git-cherry-pick.txt @@ -20,7 +20,7 @@ OPTIONS :: Commit to cherry-pick. ---edit:: +-e|--edit:: With this option, `git-cherry-pick` will let you edit the commit message prior committing. diff --git a/Documentation/git-revert.txt b/Documentation/git-revert.txt index f471037b9..e27c6808b 100644 --- a/Documentation/git-revert.txt +++ b/Documentation/git-revert.txt @@ -20,7 +20,7 @@ OPTIONS :: Commit to revert. ---edit:: +-e|--edit:: With this option, `git-revert` will let you edit the commit message prior committing the revert. This is the default if you run the command from a terminal. @@ -29,7 +29,7 @@ OPTIONS With this option, `git-revert` will not start the commit message editor. --n:: +-n|--no-commit:: Usually the command automatically creates a commit with a commit log message stating which commit was reverted. This flag applies the change necessary to revert the -- cgit v1.2.1