【转】warning: templates not found /usr/local/git/share/git-core/templates

转自:https://blog.****.net/h5q8n2e7/article/details/46919579

在 Mac 上用 SourceTree 克隆 svn 的时候, 出现了 warning: templates not found /usr/local/git/share/git-core/templates 警告,导致克隆失败. 怎么办呢.

在终端输入 

sudo mkdir /usr/local/git

sudo mkdir /usr/local/git/share

sudo mkdir /usr/local/git/share/git-core

sudo mkdir /usr/local/git/share/git-core/templates

sudo chmod -R 755 /usr/local/git/share/git-core/templates

前四条创建目录,最后一条给修改目录添加权限.

【转】warning: templates not found /usr/local/git/share/git-core/templates

上一篇:Harbor 1.8.2升级到2.3.2


下一篇:文件描述符与文件指针的关系与区别