Unable to find remote helper for 'https'

简介: 出现这个报错,说明git目前的状态是正常的,要么没装好,要么自己解决压缩安装导致没有权限 第三次情况是,使用yum install git 重新安装后,仍然报错,是因为环境变量中GIT_HOM配置的仍然是有问题的老http://blog.

出现这个报错,说明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?在CODE上查看代码片派生到我的代码片
  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?在CODE上查看代码片派生到我的代码片
  1. git clone git://github.com/twlkyao/findfile.git  

 

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

    切换到代码目录:

 

[plain]  view plain  copy
 
 print?在CODE上查看代码片派生到我的代码片
  1. cd /opt/git-1.8.1.2/  

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

 

 

[plain]  view plain  copy
 
 print?在CODE上查看代码片派生到我的代码片
  1. $ make prefix=/usr all doc info ;# as yourself  
  2. # make prefix=/usr install install-doc install-html install-info ;# as root  

   然后执行make install

 

 

[plain]  view plain  copy
 
 print?在CODE上查看代码片派生到我的代码片
    1. # make install  

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

不错

相关文章
|
8月前
完美解决 fatal: unable to access ‘https://github.com/Homebrew/brew/‘
完美解决 fatal: unable to access ‘https://github.com/Homebrew/brew/‘
332 0
|
2月前
|
Linux 开发工具 git
【开发专题_03】unable to access ‘https://github.com/deviantony/docker-elk.git/‘: Failed connect to github
【开发专题_03】unable to access ‘https://github.com/deviantony/docker-elk.git/‘: Failed connect to github
|
4月前
【Error】fatal: unable to access ‘https://github.com/PanJiaChen/vue-element-admin/‘: OpenSSL SSL_read:
【Error】fatal: unable to access ‘https://github.com/PanJiaChen/vue-element-admin/‘: OpenSSL SSL_read:
|
6月前
|
JavaScript 安全 应用服务中间件
Node.js 应用访问 https 服务器时遇到的错误消息 unable to get local issuer certificate
Node.js 应用访问 https 服务器时遇到的错误消息 unable to get local issuer certificate
74 1
|
开发工具 git
fatal: unable to access ‘https://github.com/.../.git‘: Could not resolve host: github.com解决方法【亲测有效】
1.问题原因 今天在使用Github的时候突然出现了这样的报错,云里雾里,看了网上的解决办法,说是代理服务器的问题,尝试了无数遍无果 然后Ping了一下github网站,发现Ping不通:
1310 0
|
11月前
|
开发工具 git
fatal: unable to access ‘https://github xxxxxxxxx的解决方法
fatal: unable to access ‘https://github xxxxxxxxx的解决方法
479 0
|
网络安全
unable to access ‘https://github.com/adobe-webplatform/eve.git/‘: Failed to connect to github.com
unable to access ‘https://github.com/adobe-webplatform/eve.git/‘: Failed to connect to github.com
|
开发工具 git
用Git工具下载其他人的项目出现的问题---fatal: unable to access ‘https://github.com/TheAlogorithms/Java.git/‘.........
在开启SS的前提下,手动配置git的代理。git客户端输入如下两个命令就可以了。
109 0
用Git工具下载其他人的项目出现的问题---fatal: unable to access ‘https://github.com/TheAlogorithms/Java.git/‘.........
fatal: unable to access 'https://github.com/XXXX.git/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
fatal: unable to access 'https://github.com/XXXX.git/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
254 0