Conventional commit messages are a standard format for commit messages that helps improve the readability and maintainability of source code repositories. They typically follow a specific pattern that includes a type, scope, and description.

Types of Commit

  • Feature: For new features.
  • Fix: For bug fixes.
  • Refactor: For code refactoring.
  • Style: For changes that do not affect the behavior of the code (e.g., formatting, spelling).
  • Docs: For documentation only changes.
  • Test: For adding tests or refactoring tests.
  • Build: For changes that affect the build system.
  • Chore: For housekeeping, such as changes to the build process or adding tests.

Example

fix: fixed typo in documentation

Learn More

For more information on conventional commit messages, you can read our commit message guidelines.