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

git cz nothing showup

Open taotaodong527 opened this issue 8 years ago • 4 comments

Following the installation and use guide, run git cz nothing showed up。 Anything should be checked

taotaodong527 avatar Apr 27 '18 07:04 taotaodong527

Not working for me either, not sure whats missing

botcheddevil avatar Apr 27 '18 12:04 botcheddevil

Worked! Needed to make the repo comittizen friendly!!

@leomvp527 have you tried adding config in package.json

"config": { "commitizen": { "path": "cz-conventional-changelog" } }

--

PS: you would also need to install npm i cz-conventional-changelog

botcheddevil avatar Apr 27 '18 12:04 botcheddevil

Commitizen's own initialization script should install the cz-conventional-changelog in your repo: commitizen init cz-conventional-changelog --save-dev --save-exact

meszaros-lajos-gyorgy avatar Sep 09 '18 11:09 meszaros-lajos-gyorgy

In addition to @botcheddevil 's answer. Another way to keep it local:

echo '{ "path": "cz-conventional-changelog" }' > ~/.czrc

Source: https://github.com/commitizen/cz-cli#conventional-commit-messages-as-a-global-utility

zhuhw avatar Mar 13 '19 23:03 zhuhw