diff options
author | Junio C Hamano <junio@hera.kernel.org> | 2008-06-08 22:49:47 +0000 |
---|---|---|
committer | Junio C Hamano <junio@hera.kernel.org> | 2008-06-08 22:49:47 +0000 |
commit | eb415999b469f6d3e718f2fdf28dd460d8db5f4f (patch) | |
tree | ca4b12fcea8cc51c42b66ee456255ee4ea85b203 /git-revert.txt | |
parent | e2b205c118b67a65b1bde35ff88de1f7aceae8d0 (diff) | |
download | git-htmldocs-eb415999b469f6d3e718f2fdf28dd460d8db5f4f.tar.gz |
Autogenerated HTML docs for v1.5.6-rc2-15-g457bb
Diffstat (limited to 'git-revert.txt')
-rw-r--r-- | git-revert.txt | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/git-revert.txt b/git-revert.txt index 5e6adfcea..5b49b8138 100644 --- a/git-revert.txt +++ b/git-revert.txt @@ -22,12 +22,14 @@ OPTIONS For a more complete list of ways to spell commit names, see "SPECIFYING REVISIONS" section in linkgit:git-rev-parse[1]. --e|--edit:: +-e:: +--edit:: With this option, `git-revert` will let you edit the commit message prior to committing the revert. This is the default if you run the command from a terminal. --m parent-number|--mainline parent-number:: +-m parent-number:: +--mainline parent-number:: Usually you cannot revert a merge because you do not know which side of the merge should be considered the mainline. This option specifies the parent number (starting from 1) of @@ -38,7 +40,8 @@ OPTIONS With this option, `git-revert` will not start the commit message editor. --n|--no-commit:: +-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 @@ -51,7 +54,8 @@ OPTIONS This is useful when reverting more than one commits' effect to your working tree in a row. --s|--signoff:: +-s:: +--signoff:: Add Signed-off-by line at the end of the commit message. |