blog icon indicating copy to clipboard operation
blog copied to clipboard

commitizen cz-conventional-changelog

Open yongheng2016 opened this issue 1 year ago • 0 comments

  • 安装
pnpm install -wD commitizen cz-conventional-changelog
  • 更新package.json配置
"scripts": {
  "commit": "cz"
},
"config": {
    "commitizen": {
      "path": "./node_modules/cz-conventional-changelog"
    }
  • 接下来就可以使用 $ pnpm commit 来代替 $ git commit 进行代码提交了,看到下面的效果就表示已经安装成功了。

yongheng2016 avatar Apr 06 '23 07:04 yongheng2016