commitizen / cz-cli

The commitizen command line utility. #BlackLivesMatter

Home Page:http://commitizen.github.io/cz-cli/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

git: 'cz' is not a git command.

shaobeichen opened this issue · comments

image

git cz doesn't work

npx cz work

Repeated installation many times, restarted vscode and computer many times.

In some projects it is possible, in some projects it is not.

Try running the command cz if there is an error

Try running the command cz if there is an error

yes, cz is works

This is not a git plugin. There is no git cz command.

This issue can be closed.

There is no git cz command.

custom git commands can be added by making commands named as git-<command-name> available on the $PATH. i'm having trouble finding official documentation about this other than a brief mention here, but many blog articles are available to describe in more detail, like this one.

since this package defines git-cz as one of its bin commands, as long as this package is installed globally and global packages are properly available on the $PATH, git cz should be available as a valid command.