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

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

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

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

相关文章:

  • 2022-01-10
  • 2021-07-06
  • 2021-08-02
  • 2021-08-03
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-07-24
  • 2021-09-08
  • 2022-02-01
  • 2022-12-23
相关资源
相似解决方案