Git Commit Message Checker
Paste a commit message. The checker reports errors that break the format and suggestions for style, such as header length and capitals.
Use the tool
Loading the tool…
About Git Commit Message Checker
Paste a commit message and check it against common conventions, such as a short first line and a blank line before the details. Use it to keep a project's history easy to read.
Worked example
Paste a message with a long first line and details below. The checker flags the first line as too long.
Limits
Teams have their own conventions. Use the checker as a guide, and follow your project's rules.
How to use Git Commit Message Checker
- Paste the full commit message. The first line is the header.
- Select Check message.
- Fix the errors first, then the suggestions.
Good to know
- This checks format only. It does not judge whether the change is correct or complete.
- The list of common types follows the Conventional Commits convention. Teams may use their own types.
- Git itself does not require any format. Your project may have its own rules.
Frequently asked questions
What is the header?
The first line of the message, such as "feat(export): add CSV download".
How do I mark a breaking change?
Add ! after the type or scope, or add a footer that starts with BREAKING CHANGE: followed by the description.