Skip to content

Instantly share code, notes, and snippets.

@fgeierst
Created September 2, 2023 09:02
Show Gist options
  • Select an option

  • Save fgeierst/589e6d32f58dd69efc5289c715913e29 to your computer and use it in GitHub Desktop.

Select an option

Save fgeierst/589e6d32f58dd69efc5289c715913e29 to your computer and use it in GitHub Desktop.
Semantic Commit Messages
  • feat for a new feature for the user, not a new feature for build script. Such commit will trigger a release bumping a MINOR version.
  • fix for a bug fix for the user, not a fix to a build script. Such commit will trigger a release bumping a PATCH version.
  • perf for performance improvements. Such commit will trigger a release bumping a PATCH version.
  • docs for changes to the documentation.
  • style for formatting changes, missing semicolons, etc.
  • refactor for refactoring production code, e.g. renaming a variable.
  • test for adding missing tests, refactoring tests; no production code change.
  • build for updating build configuration, development tools or other changes irrelevant to the user.

Source: http://karma-runner.github.io/6.4/dev/git-commit-msg.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment