git clone 报错 fatal: HTTP request failed
git clone https://github.com/cppla/ServerStatus.git
Initialized empty Git repository in /var/www/html/ServerStatus/.git/
error: while accessing https://github.com/cppla/ServerStatus.git/info/refs
fatal: HTTP request failed
一般是由于以下几种问题造成的:
- git版本的问题:可以通过安装更高的版本解决问题,可以参考这里《CentOS下源码包编译安装Python-2.7.8》
- 系统的时间不对,使用date查看时间是否正确,如果不正确可以参考这里《Linux修改系统时区》
本作品采用 知识共享署名-相同方式共享 4.0 国际许可协议 进行许可。
评论已关闭