Last active
December 30, 2015 12:59
-
-
Save jasonaowen/7833242 to your computer and use it in GitHub Desktop.
a git commit template for GitHub
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Please enter the commit message for your changes. Lines starting | |
# with '#' will be ignored, and an empty message aborts the commit. | |
# | |
# ==[ Title: short meaningful description ]=====| | |
# The title needs to be fewer than 50 characters. | |
# ==[ Blank: Follow the Subject with a blank line, do NOT remove ]=====| | |
# ==[ Details: Describe what changed and explain why it changed ]======| | |
# This and all following lines should be fewer than 72 characters. | |
# Explain the reason behind your change! | |
# https://help.github.com/articles/github-flavored-markdown | |
# ==[ Issue: issue number and title ]==================================| | |
# Github will automatically link issues of the form #1 or user/repo#1 | |
#Issue # | |
# | |
# Write your commit messages in the imperative: "Fix bug" and not | |
# "Fixed bug" or "Fixes bug." This convention matches up with commit | |
# messages generated by commands like git merge and git revert. | |
# - http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget -O ~/.commit-template https://gist.githubusercontent.com/jasonaowen/7833242/raw/.commit-template | |
git config --global commit.template ~/.commit-template |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I like it, thanks. It is also nice there is an option in git to config withOUT the global option.