/commit-pattern

Custom commit pattern for repositories and projetcs

Git Commit Pattern

[Type]: commit message

Conventional Commit Types

  • The Build type must be used for changes that affect build components and dependencies.

  • The Chore type must be used for miscellaneous changes.

  • The Docs type must be used for changes that affect documentation only.

  • The Feat type must be used for changes that add or remove a feature.

  • The Fix type must be used for changes that repair bugs.

  • The Perf type must be used for changes that improve performance.

  • The Refactor type must be used for changes that rewrite or restructure code.

  • The Remove type must be used for changes that remove files.

  • The Revert type must be used for changes that revert pieces or the last commit itself.

  • The Style type must be used for changes that affect the file content style.

  • The Test type must be used for changes that add missing tests or correct existing tests.


Conventional Commit Messages

  • The commit message must always start with a verb in the imperative, present tense.

  • The commit message should be objective and short, with optional body description.