git config --global commit.template <模版文件路径(例如:xx/xx/template.txt)>
git config --global core.editor vim(配置vim当编辑器)
Git commit添加默认消息模板

git config --global commit.template <模版文件路径(例如:xx/xx/template.txt)>
git config --global core.editor vim(配置vim当编辑器)