在 Mac 上用 SourceTree 克隆比较慢并且失败, 出现了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
网友评论