Commitizen adapter following https://github.com/ShafiqIslam/dotfiles/blob/master/git/.gitmessage.
npm install @polygontech/cz-conventionforked from ngryman/cz-emoji to suit my taste.
Run the following to install/update this tool:
```
curl -fsSL https://raw.githubusercontent.com/ShafiqIslam/cz-convention/main/install.sh | bash
``
npm install -g commitizen
``
npm install -g @polygontech/cz-convention
Then, Reference it:
``
echo '{ "path": "@polygontech/cz-convention" }' > ~/.czrc
``
npm install @polygontech/cz-convention
Then, Reference it in your package.json of your project
``
...
"config": {
"commitizen": {
"path": "node_modules/@polygontech/cz-convention/"
}
}
...
Traditionally,
`for minimal version:
git cz
With husky, in your runcom
.huskyrc or .huskyrc.js:`
{
"hooks": {
...
"prepare-commit-msg": "exec < /dev/tty && git cz --hook",
...
}
}
``