在使用sourceTree的时候可能出现warning: templates not found C:\Program Files\Git\share\git-core\templates

在windows系统zhong,Git的配置文件位于C:\Users\<登录用户名>\.gitconfig。使用文本编辑工具打开并加入如下几行:

[init]  
templatedir=C:/Program Files/Git/mingw64/share/git-core/templates  

保存并重启SourceTree,问题解决。

猜你喜欢

转载自blog.csdn.net/qq_29608143/article/details/80567273
今日推荐