Try to use useful categorization for each commit, currently there are these categories:
[FEATURE]
- A new feature or small additions.[STYLE]
- Style related commits.[BUGFIX]
- A fix for a bug, try to include links to project management ticket # for reference.[DOCS]
- Anything relates to documentation, including adding comments, updating readmes.[CONFIG]
- Configuration changes.[CLEANUP]
- Changes that do not affect functionality such as refactoring, restructuring.[WIP]
- Work in progress, when working on something not completely done.[SECURITY]
- Anything related to server or application security.[REVISIT]
- Things that should be looked over again in the future.[MISC]
- Anything not covered by above, try to avoid this, if there's a category not clearly grouped with options above, try to add to this list.
This is useful when you want to find a commit of a particular category, you can just do
git log --all --oneline | grep '\[REVISIT\]'
and it would search for all commits with [REVISIT] category