Notes | Git Commit Types
A concise reference for common Git commit message types. Use these prefixes to describe the purpose of each commit consistently and keep project history clear and easy to scan.
| Type | Use for | Example |
|---|---|---|
feat | Add a new feature | feat: add RSS feed |
fix | Fix a bug | fix: prevent login timeout |
docs | Update documentation | docs: improve installation guide |
refactor | Improve code without changing behavior | refactor: simplify parser logic |
chore | Perform maintenance or repository housekeeping | chore: update dependencies |
test | Add or update tests | test: add unit tests for parser |
style | Apply formatting without changing logic | style: format source with Prettier |
perf | Improve performance | perf: cache API responses |
build | Update build system or dependencies | build: upgrade Vite |
ci | Update CI/CD configuration | ci: add GitHub Actions workflow |
revert | Revert a previous commit | revert: revert parser refactor |