| name | commit-message |
| description | Write git one-line commit messages. |
commit-message
Instructions
Follow strict commit discipline to maintain a clean, useful git history.
Commit Message Guidelines
Commit messages should be clear, concise, and follow a standard format, and should explain the "why" behind the change.
Commit Message Format
Use <type emoji>(<target>): <description> format. <type emoji> indicates change type, <target> is optional scope, <description> is one-line concise summary with no indent.
Types:
- โจ
feat: New feature - ๐
fix: Bug fix - โป๏ธ
refactor: Code refactoring - โ
test: Adding/updating tests - ๐
docs: Documentation changes - ๐จ
style: Code style changes (formatting) - ๐ง
chore: Build process, dependencies - โก
perf: Performance improvements - ๐งน
tidy: Structural code changes (renaming, extracting methods)
Examples
Examples:
โจ(auth): add OAuth2 login support since many users requested it
๐: fix crash on null pointer in order processing
โป๏ธ(cart): extract calculateTotal method
โ
: add tests for user registration
๐: update API documentation for payment endpoint