在 Mac 上用 SourceTree 克隆 svn 的時候, 出現(xiàn)了 warning: templates not found /usr/local/git/share/git-core/templates 警告,導(dǎo)致克隆失敗. 怎么辦呢.
在終端輸入
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