last update:
A short guide to writing industry-standard Git commit messages. This information comes from posts and articles about good Git-message writing.
[ #: ] type-of-change: [ scope: ] description
...where # is the issue or bug reporting reference from e.g.: JIRA, Bugzilla, etc., and
...type-of-change is one of:
Type | Description |
---|---|
fix | changes to resolve a bug in the codebase |
feature | chages to add a new feature to the code base |
chore | changes not related to a feature or a bug, but involve modification or updating dependencies |
refactor | changes involving refactored code, but do not include refactoring |
docs | changes filed to documentation, README.md or markdown |
style | changes to coding style in the codebase |
test | changes to test files including corrections, bug fixes |
performance | changes to improve the applications's performance |
ci | changes to CI integration such as in files and scripts |
build | changes to files involving build files |
revert | reverting to a previous commit |
For example:
UI-192: feature: Add cancel button to the dialog.