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

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

2017-09-19 23:48 603 查看
今天在拉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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  git
相关文章推荐