警告:找不到模板/usr/local/git/share/git-core/templates

警告:找不到模板/usr/local/git/share/git-core/templates

问题描述:

我收到此错误警告:当我在本地存储库中克隆仓库此链接

I get this error warning: templates not found /usr/local/git/share/git-core/templates when I cloning repo in local repository this link, this link, and this link I tried this method and I just waiting more than 20 minutes but repo doesn't clone. I use source-tree and OS X El Capitan. How can I fix it?

创建模板文件夹.

在您的情况下,应为:mkdir /usr/local/git/share/git-core/templates

In your case, it should be: mkdir /usr/local/git/share/git-core/templates