- First line is always 50 characters or less
- First character is uppercase
- No period ad the end of first line
- Blank line after first line
- Never use the -m flag to
git commit
- Includ a link to issue in the commit message
-
-
Save mstrehler/2ffc2b41a703ba8dac71 to your computer and use it in GitHub Desktop.
Template for commit messages.
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
# If this commit is applied, it will ... | |
# Why was this change made? | |
# Any references to tickets, articles etc? | |
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
git config --global commit.template ~/.git_commit_msg.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment