Skip to content

Instantly share code, notes, and snippets.

@MEHColeman
Created October 23, 2015 14:25
Show Gist options
  • Save MEHColeman/53da62446e1312c32e2c to your computer and use it in GitHub Desktop.
Save MEHColeman/53da62446e1312c32e2c to your computer and use it in GitHub Desktop.
You can add this dotfile to ~/ and 'git config --global commit.template ~/.git_commit_template.txt'
# 50/72 line length
# Present tense, initial caps, short first line
# e.g. Add widget
# In the comments, remember to explain
# * WHY the commit was necessary
# * HOW does it address the issue
# * WHAT effects the patch has
#
# Reference any github or issue tracker ticker number.
# github recognises the words such as 'closes', resolves' or 'fixes'
# bitbucket additionally recognises 'reopens', 'wontfix', 'references', 'see'
# and 'invalidates'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment