git 提交模板配置

1.创建模板文件,比如gitTemplate.txt,内容如下:

ABSTRACT:修改自测发现的多度数据同步相关问题。

Bug Fix [Y/N]:N
Bug ID:
New Feature [Y/N]:N
Feature ID:
Other Info:

2.在git仓库路径下,打开bash窗口,输入以下命令执行即可。

git config --global commit.template D:'\Program Files\TortoiseGit\gitTemplate.txt'

路径根据实际的配置。

猜你喜欢

转载自www.cnblogs.com/Anidot/p/10059466.html