0. The git commit message shall not be empty
1. Separate header from body, and body from footer with a blank line
2. Limit the header to 72 characters
3. Use sentence case for the subject
4. Do not end the subject with a period
5. Use the imperative mood in the subject
6. Wrap the body and footer at 72 characters
7. Use the body to explain what and why vs. how
8. Use types for semantic versioning
9. Use footer to connect to issues and designate breaking changes
For explanations and automation means, please refer to the original Medium article.
Top comments (0)