X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=Documentation%2Fgit-revert.txt;h=f471037b97ad72fc098859e60ccfeb75b559d3a3;hb=8bf14d6ef9245f3b81d24cb7725a868f62343277;hp=feebd81da5889da2e77dc8508f8b7e3d642e6214;hpb=287f860054345505e4f737466279efa6c3ff04b5;p=git.git diff --git a/Documentation/git-revert.txt b/Documentation/git-revert.txt index feebd81d..f471037b 100644 --- a/Documentation/git-revert.txt +++ b/Documentation/git-revert.txt @@ -7,7 +7,7 @@ git-revert - Revert an existing commit. SYNOPSIS -------- -'git-revert' [-n] +'git-revert' [--edit | --no-edit] [-n] DESCRIPTION ----------- @@ -20,6 +20,15 @@ OPTIONS :: Commit to revert. +--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. + +--no-edit:: + With this option, `git-revert` will not start the commit + message editor. + -n:: Usually the command automatically creates a commit with a commit log message stating which commit was reverted.