0.1.1 • Published 5 years ago
git-cz-husky v0.1.1
git-cz-husky
Original git-cz repo
https://github.com/streamich/git-cz
Hook installation
yarn add -D git-cz-husky
or
npm install --save-dev git-cz-husky
husky integration
package.json
{
...
"husky": {
"hooks": {
"prepare-commit-msg": "exec < /dev/tty && git-cz-husky || true"
},
},
...
}
OS Windows
This hook doesn't seem to work on Windows because of exec < /dev/tty
.
I heard something about con
but I'm not sure that I know how to use it instead of exec < /dev/tty
.