0
点赞
收藏
分享

微信扫一扫

git fatal: Unable to find remote helper for ‘https‘

今天在拉git仓库的时候碰到这个问题,原因是缺少插件,搜国内的没一个整明白,然后到stack上面看到了这个,然后解决了问题。

方法一:进到git目录,重新编译

$ yum install curl-devel
$ # cd to wherever the source for git is
$ cd /usr/local/src/git-1.7.9
$ ./configure
$ make
$ make install

参考文章:https://stackoverflow.com/questions/8329485/unable-to-find-remote-helper-for-https-during-git-clone

方法二:

yum -y install git-http

第二个方法我没测试,因为搞完第一个方法,问题就解决了。第一种方法比较慢,需要重新编译git。

方法三:

用git代替https。我之前也没看到,可以试一下。

git clone --recursive git://github.com/ceph/ceph.git


举报

相关推荐

0 条评论