Conventional Commits
Convention for meaningful & machine-readable Commit Messages
Conventional Commits Format
Subset of possible Labels
Labels | Description |
---|---|
feat | patch a bug (related to PATCH in Semantic Versioning) |
chore | introduce a feature (related to MINOR in Semantic Versioning) |
docs | changes to documentation |
style | non-functional changes to appearance |
refactor | non-functional changes |
Remarks
- I’ve adopted the Convention Angular uses, without conforming to Semantic Versioning
- Having to think which label to use trains yourself to think about your commits more
- It also enforces separation of different types of changes
Examples
References
- Angular Commit Message Guidelines
- Source: Conventional Commits
- I wrote about it here Day 24 - Use Conventional Commits