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

该问题是由 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/

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值