现在的位置: 首页 > 综合 > 正文

linux rhel6.2 解决 git 使用错误:fatal: Unable to find remote helper for ‘https’

2013年01月28日 ⁄ 综合 ⁄ 共 267字 ⁄ 字号 评论关闭

在linux系统下,有时想用git从网上下载code,但报错误,:fatal: Unable to find remote helper for 'https'

下面是我实验过的一个方法:

如果安装了git,应该会找到目录   /usr/libexec/git-core

将这个目录添加到      /root/.bash_profile 中;

PATH=/usr/libexec/git-core:$PATH:$HOME/bin

保存退出,

然后用命令从新启动一下这个文件

$>   source    /root/.bash_profile  

再用git下载你网上的代码就可以了;

抱歉!评论已关闭.