- feat: The new feature being added to a particular application
- fix: A bug fix (this correlates with PATCH in SemVer)
- style: Feature and updates related to styling
- refactor: Refactoring a specific section of the codebase
- test: Everything related to testing
- docs: Everything related to documentation
- chore: Regular code maintenance
- feat(claims): bla bla bla
- fix(orders): bla bla bla
For proper source code management and better housekeeping a commit should be a wrapper for related changes.
Committing early and often keeps your commits small and helps you commit only related changes. Moreover, it allows you to share your code more frequently with others and avoid having merge conflicts.
Resist the temptation to commit something that you «think» is completed. Test it thoroughly to make sure it really is completed and has no side effects (as far as one can tell).
However you choose to work, just make sure to agree on a common workflow that everyone follows.