Unable to find remote helper for 'https'

出现这个报错,说明git目前的状态是正常的,要么没装好,要么自己解决压缩安装导致没有权限

第三次情况是,使用yum install git 重新安装后,仍然报错,是因为环境变量中GIT_HOM配置的仍然是有问题的老http://blog.csdn.net/yanwuhuan/article/details/7412370 

 

 

 解决git的这个错误:fatal: Unable to find remote helper for ‘https’

 

系统是centos5

搜了一下,要装curl的,可是俺已经装了啊?

卸载Git,再装,再试,无意中发现一个提示,没有权限执行 git-remote-https,啊哈?

找到这个文件所在目录 /usr/libexec/git-core,加入到PATH里头,搞定!

http://blog.csdn.net/yanwuhuan/article/details/7412370

 

 

 使用Git远程获取代码

 

[plain] 
view plain
 copy  
 print?《Unable to find remote helper for 'https'》《Unable to find remote helper for 'https'》

  1. git clone https://github.com/twlkyao/findfile.git  

 

    出现“fatal: Unable to find remote helper for ‘https’”(这是因为Git环境在重装后没有安装完全,需要重新安装),可暂时使用git代替https,使用如下命令:

 

[plain] 
view plain
 copy  
 print?《Unable to find remote helper for 'https'》《Unable to find remote helper for 'https'》

  1. git clone git://github.com/twlkyao/findfile.git  

 

    这里将使用代码安装进行介绍:

    切换到代码目录:

 

[plain] 
view plain
 copy  
 print?《Unable to find remote helper for 'https'》《Unable to find remote helper for 'https'》

  1. cd /opt/git-1.8.1.2/  

    然后按照INSTALL中的说明设置安装前缀(一般使用root安装):

 

 

[plain] 
view plain
 copy  
 print?《Unable to find remote helper for 'https'》《Unable to find remote helper for 'https'》

  1. $ make prefix=/usr all doc info ;# as yourself  
  2. # make prefix=/usr install install-doc install-html install-info ;# as root  

《Unable to find remote helper for 'https'》

   然后执行make install

 

 

[plain] 
view plain
 copy  
 print?《Unable to find remote helper for 'https'》《Unable to find remote helper for 'https'》

    1. # make install  

http://blog.csdn.net/twlkyao/article/details/16974477

不错

点赞