Git Commit
install packages
步骤:
- 全局安装 commitizen & cz-convertional-changelog
- 项目内安装commitlint & husky
- 添加配置
npm i commitizen -g
## 支持 Angular 的 commit message 格式
commitizen init cz-conventional-changelog --save --save-exact
参考资料
Name |
Last commit
cbfe12aa
-
docs: test
|
History
|
Last Update |
---|---|---|
.cz-config.js | Loading commit data... | |
.gitignore | Loading commit data... | |
CHANGELOG.md | Loading commit data... | |
README.md | Loading commit data... | |
commitlint-config.js | Loading commit data... | |
package.json | Loading commit data... | |
test.md | Loading commit data... |