Semantic Commits

A smarter way to structure commit messages.

Example

Example

feat: add hat wobble
^--^  ^------------^
|     |
|     +-> Summary in present tense.
|
+-------> Type: chore, docs, feat, fix, refactor, style, or test.

More Examples

chore

add Oyster build script

docs

explain hat wobble

feat

add beta sequence

fix

remove broken confirmation message

refactor

share logic between 4d3d3d3 and flarhgunnstow

style

convert tabs to spaces

test

ensure Tayne retains clothing

Notes

Many thanks to Jeremy Mack. View the original article.