Add gitmessage

Adds a default commit template wtih some helpful reminders for
writing good commit messages.
This commit is contained in:
Oliver Davies 2019-10-09 22:07:12 +01:00
parent 0054c9a7b7
commit fd9b30293e
2 changed files with 17 additions and 0 deletions

View file

@ -46,6 +46,7 @@
untracked = cyan
[commit]
template = ~/.gitmessage
verbose = true
[core]

16
tag-git/gitmessage Normal file
View file

@ -0,0 +1,16 @@
# 50-character subject line
#
# 72-character wrapped longer description. This should answer:
#
# * Why was this change necessary?
# * How does it address the problem?
# * Are there any side effects?
#
# Include a link to the ticket, if any.
#
# Add co-authors if you worked on this code with others:
#
# Co-authored-by: Full Name <email@example.com>
# Co-authored-by: Full Name <email@example.com>