Commit message guidelines

Your contributions will be rejected if you won't follow this guideline.
About
<type>[optional scope]: <description>
The commit contains the following structural elements, to communicate intent to the consumers of our libraries:
fix: a commit of the type
fix
patches a bug in your codebase (this correlates withPATCH
in Semantic Versioning).feat: a commit of the type
feat
introduces a new feature to the codebase (this correlates withMINOR
in Semantic Versioning).BREAKING CHANGE: a commit that appends a
!
after the type/scope, introduces a breaking API change (correlating withMAJOR
in Semantic Versioning). A BREAKING CHANGE can be part of commits of any type.other types that are supported:
build:
chore:
ci:
docs:
style:
refactor:
perf:
test:
Examples
tl;dr: https://www.conventionalcommits.org/examples
Commit message with scope
feat(lang): add Polish language
Commit message with no scope
docs: update README.md
Commit message with !
to draw attention to breaking change
!
to draw attention to breaking changefeat!: send an email to the customer when a product is shipped
References
Last updated
Was this helpful?