阅读背景:

sourceTree git 空目录从远程仓库克隆代码出现warning: templates not found

来源:互联网 

  解决办法:

在安装git时没有默认安装到c盘,而是安装到了d盘。在使用SourceTree进行代码克隆时提示warning: templates not found in D:\software\development\Git\share\git-core\ 按照提示给出的路径去查找确实没有查找到该路径。然后在Git文件夹下查找templates,发现实际目录为D:\Program Files\Git\mingw64\share\git-core\templates。因此要在git中重新设置一下templated选项,具体设置方法有两种:在安装git时没有默认安装到c盘,而是安装到了d盘。在使用SourceTre




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: