Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Conventional Commits

Conventional Commits is a convention for standardizing commit messages in software projects, as proposed in this specification. It defines a clear structure for commits, making them more readable and enabling automation (e.g., changelog generation and semantic versioning).

For a quick reference, you can check this cheatsheet, which summarizes the most common commit types and formats.

Additionally, tools like commitlint help enforce these conventions. It’s a CLI tool that allows teams to share configurations and integrate commit message validation into their development workflow, including CI pipelines.