A cheat sheet of the Conventional Commits and Conventional Comments standards
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
Type | Description |
---|---|
feat |
Introduces a new feature |
fix |
Fixes a bug |
docs |
Changes in documentation only |
style |
Code changes that do not impact the functionality (e.g., formatting, white-space, etc) |
refactor | Code changes that neither fix a bug nor introduce a feature, typically improving code readability or structure |
perf | Code changes that improve performance |
test | Addition of missing tests or corrections to existing tests |
chore |
Changes that do not modify the source code or test files, like tweaking the build process or adding dependencies |
build | Changes affecting the build system or external dependencies (e.g., changes in webpack, npm packages) |
ci | Changes to Continuous Integration configuration files and scripts (e.g., Travis, CircleCI, Jenkins) |
revert | Reverts a previously made commit |