Skip to content

Commit c9192f9

Browse files
ossilatorgitster
authored andcommitted
git-revert.txt: add discussion
The section is inspired by git-commit.txt. Signed-off-by: Oswald Buddenhagen <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 883cb1b commit c9192f9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Documentation/git-revert.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,16 @@ EXAMPLES
142142
changes. The revert only modifies the working tree and the
143143
index.
144144

145+
DISCUSSION
146+
----------
147+
148+
While git creates a basic commit message automatically, it is
149+
_strongly_ recommended to explain why the original commit is being
150+
reverted.
151+
In addition, repeatedly reverting reverts will result in increasingly
152+
unwieldy subject lines, for example 'Reapply "Reapply "<original subject>""'.
153+
Please consider rewording these to be shorter and more unique.
154+
145155
CONFIGURATION
146156
-------------
147157

0 commit comments

Comments
 (0)