iOS杂技

warning: templates not found /us

2018-11-15  本文已影响0人  魔力双鱼

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

1.在终端输入

‍‍open‍‍ /usr/local/

2.在打开的目录中可以看到:

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

注意 sudo 创建目录需要输入当前 Mac 用户的密码

最后重新 clone 项目


原文:https://blog.csdn.net/pengyuan_d/article/details/52404918

上一篇 下一篇

猜你喜欢

热点阅读