commit规范

在用户目录创建文件gitmessage,放入如下内容,每次提交代码时就会提示按格式提交commit了

[feature] 

1. 


代码提交message规范
git config --global commit.template ~/gitmessage

你可能感兴趣的:(commit规范)