[Linux]Centos git报错fatal: HTTP request failed
2016-01-02 20:14
381 查看
在使用git pull、git push、git clone会报类似例如以下的错误:
通常是因为git版本号的问题。
使用例如以下指令查看版本号:
眼下git最高版本号应该是2.0.0.1了
fatal: Unable to find remote helper for 'https'
报错如上。
是由于git 是通过curl请求网络的。
细致检查发现
安装curl及curl-devel
然后又一次
error: The requested URL returned error: 401 Unauthorized while accessing https://git.oschina.net/zemo/demo.git/info/refs fatal: HTTP request failed
通常是因为git版本号的问题。
使用例如以下指令查看版本号:
# git --version git version 1.7.0.1能够通过安装更高的版本号解决这个问题。
眼下git最高版本号应该是2.0.0.1了
fatal: Unable to find remote helper for 'https'
报错如上。
是由于git 是通过curl请求网络的。
细致检查发现
<span style="font-family: Arial, Helvetica, sans-serif;">checking for curl_global_init in -lcurl... no</span>
安装curl及curl-devel
yum install curl curl-devel
然后又一次
#./configure #make #make install
相关文章推荐
- WebGoat之HTTP Spliting(拆分)过程及总结分析 - 2016.01.02
- Deep Learning In NLP 神经网络与词向量
- Xcode中常用的快捷键(原文链接http://www.cocoachina.com/ios/20141224/10752.html)
- 程序员称为高手的10条心得(摘自http://www.jizhuomi.com/software/394.html)
- 详细讲解Android的网络通信(HttpUrlConnection和HttpClient)
- 检查网络状态 — 静态检测
- 简单使用URLConnection、HttpURLConnection和HttpClient访问网络资源
- Python实现基于HTTP文件传输实例
- C# HttpRequest 中文编码问题
- Linux tcpdump命令具体解释
- iOS开发之网络请求(基于AFNetworking的再封装)
- 简单卷积神经网络讲解
- ifconfig命令
- Win10无线网络图标不显示问题修复
- Http编程之HttpClient
- Reactive Cocoa 处理多个网络请求的问题
- Java学习笔记(一)------服务器&客户端一对一通信小程序实现(TCP)
- android入门_采用HttpURLConnection的GET方式实现登陆案例
- Http基础
- python 网络编程第三版