baiji git commit rules
npm install baiji-cz-rule本项目修改自 cz-custom-enhanced
npm install -g commitizen.npm install baiji-cz-rule --save-devcommitizen 使用 baiji-cz-rule 作为插件。 你需要在package.json中加入如下几行代码: ````
"config": {
"commitizen": {
"path": "node_modules/baiji-cz-rule"
}
}
* 之后使用 git 提交代码时,使用 git cz 替换 git commit