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

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

2013-11-26 23:04 489 查看
使用Git远程获取代码

git clone https://github.com/twlkyao/findfile.git[/code] 
出现“fatal: Unable to find remote helper for 'https'”(这是因为Git环境在重装后没有安装完全,需要重新安装),可暂时使用git代替https,使用如下命令:

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


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

切换到代码目录:

cd /opt/git-1.8.1.2/
然后按照INSTALL中的说明设置安装前缀(一般使用root安装):

$ make prefix=/usr all doc info ;# as yourself
# make prefix=/usr install install-doc install-html install-info ;# as root
然后执行make install

# make install
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: