用GIt克隆repo时的问题

时间:2014-01-24 02:43:39

标签: macos git osx-mavericks

当我输入命令时:

git clone https://<repo_url>.git

我得到以下输出:

warning: templates not found /usr/share/git-core/templates

fatal: Unable to find remote helper for 'https'

我读到它可能与curl有关,但curl已经安装在我的PATH变量中。 可能导致这种情况的原因是什么?

提前致谢。

1 个答案:

答案 0 :(得分:2)

“Git Template”部分on this blog听起来像是你的问题。尝试运行git init,然后从该回购中克隆。可替换地....

安装Git时是否安装了curl?你可能已经发现这已经看到你读到卷曲可能是问题 - "Unable to find remote helper for 'https'" during git clone这就是说你应该安装curl然后重建git。 rebuild git命令应该按原样运行。

相关问题