git创建commit模板

1、新建一个模板template_name

[AR/SR/Story/Defects/CR]:

[BugFix]:

[FeatureAdd]:

[CodeReview]:

[ModifyDesc]:

[Author/ID]:

2、添加配置

git config --global commit.template template_name全路径

 

posted on 2020-04-02 14:41  kid;)  阅读(1553)  评论(0编辑  收藏  举报