【Git】git clone报错 git fatal: Unable to find remote helper for 'https'

【参考资料】

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

 

问题现象:

git clone https://xxxxx

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

 

一般都是因为缺少了 curl-devel.

所以,可以先安装 curl-devel,然后重新编译安装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

 

上述操作完成后,即可正常 git clone https://……

 

 

 

 

 

 

 

 

 

 

 

我的博客即将同步至腾讯云+社区,邀请大家一同入驻:https://cloud.tencent.com/developer/support-plan?invite_code=r0ze0mn38hwa

 

posted @ 2020-12-09 20:49  BH8ANK  阅读(289)  评论(0编辑  收藏  举报