Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 236 Bytes

commit规范.md

File metadata and controls

12 lines (8 loc) · 236 Bytes

安装 commitizen

sudo npm install -g commitizen

sudo npm install -g cz-conventional-changelog

新增 commitizen 配置

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

使用 git cz 替代 git commit

git add .

git cz