解决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 ...
最新文章
- STM32 GPIO的原理、特性、选型和配置
- 教育部:“博士分流淘汰制”真来了!不合格的导师,退出!
- (转载兼整理)Linux 2.6 下通过 ptrace 和 plt 实现用户态 API Hook
- C语言 socket shutdown()函数(将与 sockfd 关联的套接字上的全双工连接全部或部分关闭)
- Python基础 列表的详解(纯干货)
- c#中chart绘制曲线,柱状图等
- AOP集成防止连续多次点击问题
- Effective C++ 条款21
- JAVA运算的类型兼容原则_Java基础语法回顾(一)
- SLF4J介绍以及与LOG4J、LOG4J2、LOGBACK整合方法
- Hibernate拦截器字段加密解密
- 2020 MoDnet 视频抠图论文笔记
- Linux 中的 -rwxr-xr-x 权限代表什么意思 Linux 中的权限
- GB9706.1-2020|小议指示灯的颜色和报警
- Linkedin被“豪吞”,是互联网时代垄断者的网络效应
- 如何有效开展小组教学_如何有效开展小组教学
- 学习TYPE IS TABLE OF VARCHAR2 INDEX BY VARCHAR
- pyhive连接kerberos认证的hive
- 非常详细的Fiddler工具使用说明(包含APP抓包)
- 项目经理必备——软件报价
热门文章
- 论文笔记:SRF(stereo radiance fileds)
- vue+element-ui之表格中如何插入图片链接
- 超声波模块SRF05
- 测试图片,视频 地址
- PyTorch基础:神经网络工具箱torch.nn(优化器nn.optim)
- flash 不显示 旋转 补间动画_【图片】Flash入门5:详解制作补间动画(非传统补间)【flash软件吧】_百度贴吧...
- 已有Microsoft365许可证,但是office无法激活
- 农业大省吉林谋乡村全面振兴:农业强、农村美、农民富
- 三安集成长沙碳化硅制造基地下半年启动投产;龙芯中科正式发布完全自主指令集架构 | 美通企业日报...
- 数字逻辑电路——简单知识点整理(乱)