← Back to Tools

Git Commit Generator

📝 Commit Builder

0/50

👁️ Preview & Validation

0
Subject chars
0
Body chars
0
Total lines

Output

Your commit message will appear here...

Linting

Run validation...

📋 Templates

📜 History

No history yet. Your commits will appear here.

📚 Quick Reference

Type Guide

  • feat - New feature
  • fix - Bug fix
  • docs - Documentation
  • style - Formatting, missing semicolons
  • refactor - Code restructuring
  • perf - Performance improvement
  • test - Test files
  • build - Build or dependencies
  • ci - CI/CD configuration
  • chore - Other changes
  • revert - Revert previous commit

Format Examples

  • feat: add login page
  • fix(auth): resolve token issue
  • docs: update README
  • feat!: change API response format

The ! indicates a breaking change before the colon.

Best Practices

  • Use imperative mood ("add" not "added")
  • Don't capitalize first letter
  • No period at the end of subject
  • Subject ≤ 50 characters
  • Body lines ≤ 72 characters
  • Blank line between subject and body
  • Reference issues explicitly

Common Footers

  • Closes #123 - Closes issue
  • Fixes #456 - Fixes issue
  • Refs #789 - References issue
  • Reviewed-by: Name - Reviewer
  • Co-authored-by: Name - Co-author
  • BREAKING CHANGE: description
\xF0\x9F\x92\x99 Tip\xF0\x9F\x93\x9A Get Bundle \x244.99