Search code examples
gitcommitizen

Commitizen: Is there a way to override standard `git commit`?


Any commitizen users here?

Wanted behavior:

  1. install commitizen
  2. run git commit
  3. see the same nice menu as when running git cz

Current behavior:

  1. install commitizen
  2. run git commit
  3. NO nice menu as when running git cz, just default git interface

Solution

  • The commitizen/cz-cli project suggests:

    Now, simply use git cz instead of git commit when committing.

    If git-cz is in your PATH, you can call git cz. But it won't overshadow git commit, simply offer a different alternative.