Перейти к содержанию

Conventional Commits

To make it easier to work with commit messages in a team, I use the commitizen library.

  1. feat – a new feature is introduced with the changes
  2. fix – a bug fix has occurred
  3. chore – changes that do not relate to a fix or feature and don't modify src or test files (for example updating dependencies)
  4. refactor – refactored code that neither fixes a bug nor adds a feature
  5. docs – updates to documentation such as a the README or other markdown files
  6. style – changes that do not affect the meaning of the code, likely related to code formatting such as white-space, missing semi-colons, and so on.
  7. test – including new or correcting previous tests
  8. perf – performance improvements
  9. ci – continuous integration related
  10. build – changes that affect the build system or external dependencies
  11. revert – reverts a previous commit

Limit subject line: 50 symbols. Limit body line: 72 symbols.

  1. When to use "chore" as type of commit message?
  2. Pro Git book. Commit Guidelines.