首页 > Web开发 > 详细

Git出现fatal: Unable to find remote helper for 'https'

时间:2017-08-07 15:50:04      阅读:1197      评论:0      收藏:0      [点我收藏+]

使用Git远程获取代码

 

[plain] view plain copy
 
 print?
  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?
  1. git clone git://github.com/twlkyao/findfile.git  

 

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

    切换到代码目录:

 

[plain] view plain copy
 
 print?
  1. cd /opt/git-1.8.1.2/  

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

 

 

[plain] view plain copy
 
 print?
  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?
    1. # make install 

Git出现fatal: Unable to find remote helper for 'https'

原文:http://www.cnblogs.com/nkwy2012/p/7299454.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!