git-cz官网

0.目的 => 替代git commit, 丰富提交的内容

1.安装包

npm install commitizen cz-conventional-changelog --save-dev

2.修改package.json

"scripts": {
    "dev": "webpack-dev-server --host 0.0.0.0 --inline --progress",
    "commit": "git-cz"
  },

3.修改package.json

 "config": {
    "commitizen": {
      "path": "./node_modules/cz-conventional-changelog"
    }
  }

4.效果

JavaScript package.json里添加git-cz

相关文章:

  • 2022-03-14
  • 2021-10-12
  • 2021-12-21
  • 2021-07-01
  • 2021-09-09
  • 2021-11-10
  • 2021-11-18
猜你喜欢
  • 2022-12-23
  • 2021-10-29
  • 2021-11-05
  • 2022-12-23
  • 2022-01-04
  • 2022-12-23
  • 2021-12-27
相关资源
相似解决方案