cz-cli icon indicating copy to clipboard operation
cz-cli copied to clipboard

git: 'cz' is not a git command.

Open shaobeichen opened this issue 3 years ago • 5 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.

shaobeichen avatar Apr 21 '22 09:04 shaobeichen

maybe can help u: https://cz-git.qbb.sh/faq/#cannot-find-command-after-global-install

Zhengqbbb avatar May 09 '22 02:05 Zhengqbbb

Try running the command cz if there is an error

Zhengqbbb avatar Jun 26 '22 20:06 Zhengqbbb

Try running the command cz if there is an error

yes, cz is works

shaobeichen avatar Jun 27 '22 02:06 shaobeichen

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

This issue can be closed.

OmgImAlexis avatar Jul 21 '22 22:07 OmgImAlexis

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.

travi avatar Jul 22 '22 03:07 travi