创建一个模板文件
例如:git_commit_template.txt
1 2 |
# [BUGFIX|TASK #???] [ Subject: One line only short meaningful description for logs ]===| # refs: #??? |
设置下模板,下次提交就可以用了
1 |
git config --global commit.template ~/git_commit_template.txt |
例如:git_commit_template.txt
1 2 |
# [BUGFIX|TASK #???] [ Subject: One line only short meaningful description for logs ]===| # refs: #??? |
1 |
git config --global commit.template ~/git_commit_template.txt |
近期评论