See how a minor change to your commit message style can make you a better programmer.
Format:
<type>(<scope>): <subject>
<body>
<footer>
<scope>
is optional
feat(app): add hat wobble
^--^ ^------------^
| |
| +-> Summary in present tense.
|
+-------> Type: chore, docs, feat, fix, refactor, style, or test.
<type>
values:
feat
๐ฅ: new feature for the user, not a new feature for build scriptfix
๐ ๏ธ: bug fix for the user, not a fix to a build scriptdocs
๐: changes to the documentationstyle
โ๏ธ: formatting, missing semi colons, etc; no production code changerefactor
โ๏ธ: refactoring production code, eg. renaming a variabletest
๐ฌ: adding missing tests, refactoring tests; no production code changechore
๐ธ: updating grunt tasks etc; no production code change
- Use imperative, present tense
- Includes motivation for the change and contrasts with previous behavior
- Reference issues, as in
Closes #123
- Mention if change is breaking, as in
BREAKING CHANGE: <more information>
Reference(s):