aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-revert.txt
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@gmx.de>2023-08-21 19:07:20 +0200
committerJunio C Hamano <gitster@pobox.com>2023-09-02 15:21:44 -0700
commitc9192f9e45f12f7e4c93488eb77a3098e75a78cc (patch)
tree8eb7a21a3cd1816585df5e6a92b77908afe3e960 /Documentation/git-revert.txt
parent883cb1b8f86d437a9d664ec046fa66e5e24f4a19 (diff)
downloadgit-c9192f9e45f12f7e4c93488eb77a3098e75a78cc.tar.gz
git-revert.txt: add discussion
The section is inspired by git-commit.txt. Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-revert.txt')
-rw-r--r--Documentation/git-revert.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/git-revert.txt b/Documentation/git-revert.txt
index d2e10d3dce..cbe0208834 100644
--- a/Documentation/git-revert.txt
+++ b/Documentation/git-revert.txt
@@ -142,6 +142,16 @@ EXAMPLES
changes. The revert only modifies the working tree and the
index.
+DISCUSSION
+----------
+
+While git creates a basic commit message automatically, it is
+_strongly_ recommended to explain why the original commit is being
+reverted.
+In addition, repeatedly reverting reverts will result in increasingly
+unwieldy subject lines, for example 'Reapply "Reapply "<original subject>""'.
+Please consider rewording these to be shorter and more unique.
+
CONFIGURATION
-------------