diff options
| author | Oswald Buddenhagen <oswald.buddenhagen@gmx.de> | 2023-08-21 19:07:20 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-09-02 15:21:44 -0700 |
| commit | c9192f9e45f12f7e4c93488eb77a3098e75a78cc (patch) | |
| tree | 8eb7a21a3cd1816585df5e6a92b77908afe3e960 | |
| parent | sequencer: beautify subject of reverts of reverts (diff) | |
| download | git-c9192f9e45f12f7e4c93488eb77a3098e75a78cc.tar.gz git-c9192f9e45f12f7e4c93488eb77a3098e75a78cc.zip | |
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>
| -rw-r--r-- | Documentation/git-revert.txt | 10 |
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 ------------- |
