您的位置:首页 > 理论基础 > 计算机网络

git clone: fatal: Unable to find remote helper for 'https'

2014-08-28 21:33 501 查看
该问题是由 git configure 配置时没有设定 --with-curl --with-expat 造成。

参考:git INSTALL文件:

“libcurl” library is used by git-http-fetch and git-fetch. You might also want the “curl” executable for debugging purposes. If you do not use http:// or https:// repositories, you do not have to have them (use NO_CURL).

“expat” library; git-http-push uses it for remote lock management over DAV. Similar to “curl” above, this is optional (with NO_EXPAT).
CentOS的话,使用yum安装curl开发相关库后:

$ yum install libcurl-devel

重新配置编译git即可。

参考:

http://stackoverflow.com/questions/8329485/git-clone-fatal-unable-to-find-remote-helper-for-https

http://rcmdnk.github.io/blog/2013/07/27/computer-cygwin-git/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐