Git cz、Commit message 和 Changelog配合使用方法
项目需要写版本信息时有对除了版本号之外更详细的 changelog 的展示, 于是就需要在平时的 git commit 中进行规范, 才能自动生成CHANGELOG.md.yarn安装依赖Husky首先本地安装 husky yarn add husky -D, 其中 pre-commit就可以对代码进行 lint 检查, 避免 lint 的错误被上传.{ "scripts": { "lint": "vue-cli-service lint --fix" }, "husk
原创
2020-12-09 14:17:51 ·
818 阅读 ·
0 评论