Skip to main content

Git Commit Message Linter

Validate your commit messages against the Conventional Commits specification. Get instant warnings, errors, and suggestions with examples.

✓ Conventional Commits spec ✓ Type, scope & description ✓ Line length checks ✓ Breaking change detection
Examples:

Conventional Commits Format

type(optional scope)!: description

[optional body]

BREAKING CHANGE: description
Closes #123
feat — New feature
fix — Bug fix
docs — Documentation
style — Formatting
refactor — Code refactor
test — Tests
chore — Maintenance
perf — Performance
ci — CI/CD
build — Build system
revert — Revert commit
security — Security fix

Frequently Asked Questions

What is Conventional Commits?▼

Conventional Commits is a specification for structuring commit messages: <type>(<scope>): <description>. Common types are feat (new feature), fix (bug fix), docs, style, refactor, test, and chore. This format enables automated changelog generation, semantic versioning, and makes git history scannable. It's used by Angular, Vue, and many major open source projects.

What is the difference between feat and fix?▼

feat is for commits that add a new feature visible to users or consumers of the library. fix is for commits that fix a bug. In semantic versioning, feat triggers a minor version bump (1.0.0 → 1.1.0) and fix triggers a patch bump (1.0.0 → 1.0.1). A BREAKING CHANGE footer triggers a major bump (1.0.0 → 2.0.0).

Should the commit message description start with a capital letter?▼

The Conventional Commits specification recommends lowercase for the description. The rationale: consistency makes grep and automated tooling simpler. Most linters (commitlint) default to enforcing lowercase. However, many teams use capitalized descriptions — the important thing is team consistency. This linter flags both conventions.

How long should a commit message be?▼

The subject line (first line) should be 50 characters or less for git log readability, with a hard limit of 72 characters. GitHub truncates subjects longer than 72 characters in list views. If you need more context, add a blank line after the subject followed by a body paragraph. The body should wrap at 72 characters.

What does BREAKING CHANGE mean in a commit?▼

A BREAKING CHANGE is a change that is not backwards-compatible — it requires users to update their code. In Conventional Commits, you signal this with BREAKING CHANGE: description in the commit footer, or by adding a ! after the type: feat!: remove deprecated API. Either triggers a major version bump in semantic versioning.

Share this tool: X / Twitter LinkedIn
✓ 60,000+ developers use DevPlaybook ★★★★★ 4.8 / 5 on Gumroad ✓ MIT licensed · Instant download ✓ No login required

Related Products

on Gumroad

You Might Also Need

More Free Tools

Related Articles

Mar 28, 2026 · 10 min read

Conventional Commits and Commitlint: Complete Guide 2026

Master Conventional Commits and commitlint to automate changelogs, semantic versioning, and release workflows. Covers setup, configuration, CI/CD integration, and the full commitlint toolchain with real .commitlintrc examples.

Mar 28, 2026 · 12 min read

AI Code Review Tools 2026: GitHub Copilot vs CodeRabbit vs Sourcery vs Qodo

An honest comparison of the best AI code review tools in 2026. We cover GitHub Copilot code review, CodeRabbit automated PR reviews, Sourcery refactoring, and Qodo (formerly CodiumAI) — with pricing, integrations, and real use-case guidance.

Mar 28, 2026 · 15 min read

Aider AI: The Ultimate Terminal-Based AI Coding Assistant for 2026

Complete guide to Aider AI coding assistant. Setup, best practices, model options, and how this terminal-based tool compares to GUI editors for serious developer workflows.

Mar 28, 2026 · 9 min read

Lefthook vs Husky vs pre-commit: Git Hooks Manager Comparison 2026

Which git hooks manager should you use in 2026? We compare Lefthook, Husky, and pre-commit on speed, parallel execution, cross-platform support, and monorepo ergonomics with real configuration examples.

Mar 25, 2026 · 12 min read

Best Code Review Tools for Developers in 2026

The complete guide to code review tools in 2026. Compare GitHub, GitLab, AI-powered review tools, static analysis, and team collaboration features to find the right code review workflow for your team.

Enjoying this tool? Get more like it.

Weekly developer tool guides, productivity playbooks & AI tricks. Free. No spam.

DevPlaybook Pro 7 days free

Unlock AI-Powered Dev Tools

  • ⚡ AI Code Review, Doc Generator & SQL Builder
  • ⚡ All premium templates & early access
  • ⚡ Member discounts on Gumroad products
Start Free Trial →

$9/mo after trial · Cancel anytime

Want the full toolkit?

Get DevPlaybook Pro

Every template, guide, boilerplate, and automation script in one bundle. 13 premium products — grab them all at once and save big.

$79
$241 separately Save $162 (67% off)
Get DevPlaybook Pro — $79 →

MIT licensed · Instant download · No subscription

See what's included → Browse all deals →