Commit Message Convention
Write commit messages that clearly communicate what changed and why. Good commit messages make code review easier, debugging faster, and changelogs more useful.
Usage
Ask about commit message formats, establishing team conventions, or improving your commit history readability.
Examples
- "What format should I use for commit messages?"
- "How do I write a good commit message body?"
- "Should we enforce commit message conventions in CI?"
Guidelines
- Use the imperative mood in the subject line: "Add feature" not "Added feature"
- Keep the subject line under 50 characters, the body under 72 characters per line
- Separate the subject from body with a blank line
- Explain what and why in the body, not how — the code shows how
- Reference issue numbers for traceability