Git Commit Message Standards Cheat Sheet

Conventional commits and scopes

Last Updated: November 21, 2025

Focus Areas

Focus
Lead with type (feat/fix/docs) and optional scope
Keep body details concise and wrapped

Commands & Queries

git commit -m 'feat(auth): add MFA prompt'
Standard format
npx commitlint --from=HEAD~1
Lint latest commit
git log --oneline
Review history

Summary

Conventional commits feed changelog automation and traceability.

💡 Pro Tip: Wrap subjects at 72 characters and mention Jira/issue IDs.
← Back to Developer Tools | Browse all categories | View all cheat sheets