解决git fatal:无法找到‘https‘的远程助手
解决git fatal:无法找到’https’的远程助手
1、问题
今天使用git拉去代码的时候出现 fatal:无法找到'https'的远程助手
错误,如下所示
git clone https://xxxxx.git
2、产生原因
通过网上百度查询到,git/libexec/git-core 目录下没有存在git-remote-https,本人电脑上的git位置在/usr/local/git
,在git/libexec/git-core目录下没有git-remote-https,可能是安装的时候出现问题,有两种解决方案:一是重新安装,二是使用参考博文一的方案,本人觉得重新安装比较简单,故采用重新安装方案。
3、解决方案——重新安装git
本文使用的操作系统为centos7.5 , yum 安装的git比较老,故采用的是下载源码进行安装
(1)下载git源码
curl https://www.kernel.org/pub/software/scm/git/git-2.34.1.tar.gz
(2)安装
tar -zxvf git-2.34.1.tar.gz #解压
cd git-2.34.1
./configure --prefix=/usr/local #配置安装路径
make #编译
sudo make install #安装
(3)测试
git --version
git version 2.34.1 #表示安装成功
(4)git的安装路径为/usr/local/git
4、参考博文
一、fatal:无法找到’https’的远程助手
二、git 安装教程
解决git fatal:无法找到‘https‘的远程助手相关推荐
- 解决git: fatal:refusing to merge unrelated histories
** 解决Git中fatal: refusing to merge unrelated histories ** 前言 提示:这里可以添加本文要记录的大概内容: 在使用Git的过程中有时会出现一些问题 ...
- 成功解决 git设置http代理 https代理 取消代理
welcome to my blog 问题: 使用hexo搭建博客, 执行hexo init时包含git clone的操作,但是使用的是https协议, 不是ssh, 所以为git设置https代理, ...
- 完美解决 git Unable to access ‘https://github.com/xxxx/xxxx.git/’:OpenSSL SSL_read:Connection was reset
方法一: 切换网络,由于刚开始使用的校园网,导致GitHub无法连接,后面采用手机热点连接,即可解决此问题.毕竟切换网络不需要更改配置那些复杂的操作. 方法二: 采用网上提到较多的修改git配置的方案 ...
- 解决git添加远程仓库提示出错信息:fatal: remote origin already exists
解决git添加远程仓库提示出错信息:fatal: remote origin already exists. 解决办法如下:1.先输入$ git remote rm origin2.再输入$ git ...
- Git报错解决:fatal: unable to access ‘https://github.com/...‘: OpenSSL SSL_read:..., errno 10054
Git报错解决:fatal: unable to access 'https://github.com/-': OpenSSL SSL_read: Connection was reset, errn ...
- 解决git在push时报错fatal: unable to access ‘https://github.com/sup0C/a.git/‘: errno 10054
解决git在push时报错fatal: unable to access 'https://github.com/sup0C/a-repository-for--git/': OpenSSL SSL_ ...
- 避坑:git在push本地文件到远程时,报错ailed to push some refs to https://xx/xx.git的解决办法
git使用踩坑记录 发生问题描述 问题原因及解决办法 发生问题描述 在执行git push -u origin master命令push文件到github时,push失败,报错内容如下: To git ...
- 解决 git clone fatal: unable to access ‘https://github.com...‘: 的一种方法
解决 git clone fatal: unable to access 'https://github.com-': Could not resolve host: github.com的一种方法 ...
- 解决git下载报错:fatal: unable to access ‘https://github.com/.../.git/‘:
解决git下载报错:fatal: unable to access 'https://github.com/-/.git/':- 1.在git中执行git config --global --unse ...
- 报错解决:fatal: unable to access ‘https://github.com/xxxxx/xxxx.git/‘: OpenSSL SSL_read: Con
关于GitHub新建仓库过程中的fatal: fatal: unable to access 'https://github.com/xxxx/xxxxx.git/': OpenSSL SSL_rea ...
最新文章
- git 代理 git_如何不再害怕GIT
- 开发者应具备的产品设计意识
- ML之SVM:调用(sklearn的lfw_people函数在线下载55个外国人图片文件夹数据集)来精确实现人脸识别并提取人脸特征向量
- 并发编程实战-第二章学习
- ajax csrf php,JQueqy Ajax的使用(POST\GET请求 csrf_token)
- 推荐一款多功能时间管理神器
- iview图表_iview踩坑
- 使用ldconfig命令将/usr/local/lib加入到默认库
- 正确使用ArrayList和LinkedList
- 破坏入侵计算机信息系统犯罪,刑事律师解读:新形势下的黑科技犯罪—破坏计算机信息系统罪...
- 主流数据库优缺点以及性能分析
- 想要学习C++,就必须要学习C语言吗?
- PHP汉字转拼音(有声调、无声调、首字母、首字母大写)
- 手机上好用的记事本工具
- iPadOS生产力翻身,Mac Pro官方攒机 | 软、硬皆出彩的WWDC19
- 为FireFox增加自定义搜索引擎
- packetdrill 深入理解内核网络协议栈的工具集
- caffe-ssd细节梳理
- 电磁场与仿真软件(17)
- php tcpdf基类,php – 使用TCPDF创建大型PDF的最有效方法是什么?
热门文章
- 校园网内实现文件共享
- PCL-ICP(IterativeClosestPoint)源码解析
- Qt表格分页,跳转,首尾页
- Android中仿微信选择图片并展示在RecyclerView中
- BFM:总线功能模型 zz
- java 历届试题 农场阳光 蓝桥杯1040
- 西南大学网络教育行政管理计算机答案,西南大学网络教育1056计算机基础春考试大作业答案.doc...
- Django模板语言DTL中的变量和标签
- 小甲鱼零基础入门python教程视频_小银 - 神奇宝贝百科,关于宝可梦的百科全书...
- 企业管理信息系统成功实施的四个阶段