Git Commit 自动提取分支添加 Ticket ID

全局安装方法 

# 安装

$ npm install -g commitizen cz-vinyl

# 创建 .czrc 文件写入内容 会在用户文件夹下创建

$ echo '{ "path": "cz-vinyl" }' > ~/.czrc

# 完了之后,可以使用 git cz 或者直接使用 cz 来代替 git commit 了。

你可能感兴趣的:(git,git,commit,git提交规范,commitizen,git,commitizen)