To keep commit history clean, readable, and consistent, I will use the following prefixes in commit messages.
| Prefix | Description |
|---|---|
feat |
A new feature |
fix |
A bug fix |
docs |
Documentation only changes |
style |
Code style changes (formatting, missing semicolons, etc.) |
refactor |
Code changes that neither fix bugs nor add features |
test |
Adding or updating tests |
chore |
Maintenance tasks (build system, tooling, etc.) |
revert |
Reverts a previous commit |