summaryrefslogtreecommitdiffstats
path: root/git-revert.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-06-17 10:59:28 -0700
committerJunio C Hamano <gitster@pobox.com>2022-06-17 10:59:28 -0700
commitb4d46bb3b5a591ec1e691e3a053d50f9a4fec29f (patch)
tree2ce5768ec59d64ea838cdddc562defcec532bd71 /git-revert.txt
parente37d45876db66f5ab72436a23c4af28aa23e5d91 (diff)
downloadgit-htmldocs-b4d46bb3b5a591ec1e691e3a053d50f9a4fec29f.tar.gz
Autogenerated HTML docs for v2.37.0-rc0-54-gb4eda
Diffstat (limited to 'git-revert.txt')
-rw-r--r--git-revert.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/git-revert.txt b/git-revert.txt
index bb92a4a45..8463fe9cf 100644
--- a/git-revert.txt
+++ b/git-revert.txt
@@ -117,6 +117,15 @@ effect to your index in a row.
Allow the rerere mechanism to update the index with the
result of auto-conflict resolution if possible.
+--reference::
+ Instead of starting the body of the log message with "This
+ reverts <full object name of the commit being reverted>.",
+ refer to the commit using "--pretty=reference" format
+ (cf. linkgit:git-log[1]). The `revert.reference`
+ configuration variable can be used to enable this option by
+ default.
+
+
SEQUENCER SUBCOMMANDS
---------------------
include::sequencer.txt[]