commitzennpm

先add 再输入git cz命令

  1. 全局下载commitzennpm install -g commitizen

  2. Install your preferred commitizen adapter globally, for example cz-conventional-changelog

     npm install -g cz-conventional-changelog
    
  3. Create a .czrc file in your home directory, with path referring to the preferred, globally installed, commitizen adapter

     echo '{ "path": "cz-conventional-changelog" }' > ~/.czrc
    
  4. commitizen help 帮助

参考链接

posted @ 2018-01-03 12:10  沙滩多啦图  阅读(168)  评论(0编辑  收藏  举报