Source: http://chris.beams.io/posts/git-commit/#seven-rules
- Separate subject from body with a blank line
- Limit the subject line to 50 characters
- Capitalize the subject line
- Do not end the subject line with a period
- Use the imperative mood in the subject line
- Wrap the body at 72 characters
- Use the body to explain what and why vs. how
More links from this article:
- http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
- http://www.git-scm.com/book/en/Distributed-Git-Contributing-to-a-Project#Commit-Guidelines
- https://github.com/torvalds/subsurface/blob/master/README#L82-109
- http://who-t.blogspot.co.at/2009/12/on-commit-messages.html
- https://github.com/erlang/otp/wiki/writing-good-commit-messages
- https://github.com/spring-projects/spring-framework/blob/30bce7/CONTRIBUTING.md#format-commit-messages