Commit graph

3 commits

Author SHA1 Message Date
Tyson Gach
ef58e42a24 Add co-author prompt to gitmessage template
GitHub now supports trailers for co-authors. The syntax isn't the
easiest to remember, so having it as a prompt when commiting makes the
process easier.

More info: https://github.com/blog/2496-commit-together-with-co-authors
2018-02-03 15:10:18 -05:00
Derek Prior
a2fdd16d01 Remove trailing whitespace in gitmessage 2014-04-18 17:16:37 -04:00
Mike Burns
11a5504dfe Add a commit message template
Using the `commit.template` setting, read in a commit message template
for each commit. This template is commented out so the commit message
author doesn't need to delete it.

The template serves as a reminder on how to write a better commit
message. The bullets are taken from Caleb's blog post[1]. There is no
_problem_ per se -- we are writing good messages these days -- but it's
handy to be reminded of things to think about. For example, people often
forget to note whether there are any side effects.

This message does not show on `git commit --amend`, only normal `git
commit`.

[1] http://bit.ly/13HWyiy
2013-10-08 09:59:44 +02:00