Format commit message as code block

This commit is contained in:
probonopd 2017-11-04 14:36:01 +01:00 committed by Dirk Hohndel
parent f296a81a14
commit a64b70db4a

View file

@ -113,6 +113,7 @@ See: http://developercertificate.org/
Also, please write good git commit messages. A good commit message Also, please write good git commit messages. A good commit message
looks like this: looks like this:
```
Header line: explain the commit in one line (use the imperative) Header line: explain the commit in one line (use the imperative)
Body of commit message is a few lines of text, explaining things Body of commit message is a few lines of text, explaining things
@ -131,6 +132,7 @@ looks like this:
Reported-by: whoever-reported-it Reported-by: whoever-reported-it
Signed-off-by: Your Name <youremail@yourhost.com> Signed-off-by: Your Name <youremail@yourhost.com>
```
where that header line really should be meaningful, and really should be where that header line really should be meaningful, and really should be
just one line. That header line is what is shown by tools like gitk and just one line. That header line is what is shown by tools like gitk and