Skip to content

Instantly share code, notes, and snippets.

@vanessa
Forked from mdwheele/.gitmessage
Created May 14, 2017 02:47
Show Gist options
  • Save vanessa/be91eef1695fb09aca39cb89392a5b2f to your computer and use it in GitHub Desktop.
Save vanessa/be91eef1695fb09aca39cb89392a5b2f 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