Skip to content

Instantly share code, notes, and snippets.

@Ligalaiz
Last active March 19, 2022 09:11
Show Gist options
  • Save Ligalaiz/e4a677ec0b1fad7fca9d2042cf2a6398 to your computer and use it in GitHub Desktop.
Save Ligalaiz/e4a677ec0b1fad7fca9d2042cf2a6398 to your computer and use it in GitHub Desktop.
Conventional Commits

<type>[optional scope]: [JIRA task] <description>

Type

Must be one of the following:

  • init: Start project
  • build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
  • ci: Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
  • docs: Documentation only changes
  • feat: A new feature
  • fix: A bug fix
  • perf: A code change that improves performance
  • refactor: A code change that neither fixes a bug nor adds a feature
  • style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
  • test: Adding missing tests or correcting existing tests

Commit message with ! to draw attention to breaking change

Example: feat(api)!: ST-1 implement secure protection

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