Skip to content

Instantly share code, notes, and snippets.

@mdwheele
Created December 8, 2015 18:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save mdwheele/cd8b313079d06d6f0090 to your computer and use it in GitHub Desktop.
Save mdwheele/cd8b313079d06d6f0090 to your computer and use it in GitHub Desktop.
Use this Git commit message template to write better commit messages.
Replace this line with imperative summary
An awesome description describing WHY this work over HOW/WHAT it does.
The diff attached to commit should describe implementation (HOW)
well-enough.
# [Ticket #12]
#-----------------------------------------------@----------------------#
#
# 1. Summary should be under 50 characters. @-symbol above is a marker
# for that.
#
# 2. Description of commit should explain WHY a change was made and
# lines should be wrapped to 72 characters; marked by the #-symbol.
#
# 3. Optionally, reference a ticket number. If needed, uncomment and
# go to town.
#
# For more tips: http://chris.beams.io/posts/git-commit
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment