出现这个报错,说明git目前的状态是正常的,要么没装好,要么本身解决压缩安装致使没有权限html
第三次状况是,使用yum install git 从新安装后,仍然报错,是由于环境变量中GIT_HOM配置的仍然是有问题的老http://blog.csdn.net/yanwuhuan/article/details/7412370 git
解决git的这个错误:fatal: Unable to find remote helper for 'https'github
系统是centos5centos
搜了一下,要装curl的,但是俺已经装了啊?curl
卸载Git,再装,再试,无心中发现一个提示,没有权限执行 git-remote-https,啊哈?url
找到这个文件所在目录 /usr/libexec/git-core,加入到PATH里头,搞定!spa
http://blog.csdn.net/yanwuhuan/article/details/7412370.net
使用Git远程获取代码code
出现“fatal: Unable to find remote helper for 'https'”(这是由于Git环境在重装后没有安装彻底,须要从新安装),可暂时使用git代替https,使用以下命令:htm
这里将使用代码安装进行介绍:
切换到代码目录:
而后按照INSTALL中的说明设置安装前缀(通常使用root安装):
而后执行make install
http://blog.csdn.net/twlkyao/article/details/16974477 不错