Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git: 'cz' is not a git command. #925

Open
shaobeichen opened this issue Apr 21, 2022 · 5 comments
Open

git: 'cz' is not a git command. #925

shaobeichen opened this issue Apr 21, 2022 · 5 comments

Comments

@shaobeichen
Copy link

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.

@Zhengqbbb
Copy link
Contributor

Zhengqbbb commented May 9, 2022

@Zhengqbbb
Copy link
Contributor

Try running the command cz if there is an error

@shaobeichen
Copy link
Author

Try running the command cz if there is an error

yes, cz is works

@OmgImAlexis
Copy link

OmgImAlexis commented Jul 21, 2022

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

This issue can be closed.

@travi
Copy link
Contributor

travi commented Jul 22, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants