Skip to content

Instantly share code, notes, and snippets.

@artem-bez
Last active March 28, 2016 10:25
Show Gist options
  • Save artem-bez/006081eb84126a5107dd to your computer and use it in GitHub Desktop.
Save artem-bez/006081eb84126a5107dd to your computer and use it in GitHub Desktop.
A template for git commit messages which reminds you preferred formatting and contents.
# 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.
@artem-bez
Copy link
Author

To configure git to use this template git config --global commit.template '/path/to/.gitmessage'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment