美文网首页
git 出现templates没有找到解决方案

git 出现templates没有找到解决方案

作者: Spykerking | 来源:发表于2015-09-23 13:30 被阅读4732次

在 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

相关文章

网友评论

      本文标题:git 出现templates没有找到解决方案

      本文链接:https://www.haomeiwen.com/subject/gtubcttx.html