×

安装oh my zsh时git报错fatal: HTTP request failed

mtsym mtsym 发表于2018-11-17 11:13:35 浏览8289 评论0

抢沙发发表评论

一台CentOS 6.4的低配置vps想安装oh my zsh,发现装不上,报错如下

Initialized empty Git repository in /root/.oh-my-zsh/.git/
error:  while accessing https://github.com/robbyrussell/oh-my-zsh.git/info/refs

fatal: HTTP request failed
Error: git clone of oh-my-zsh repo failed

发现是git版本太低造成,系统默认git是1.7.1的,自己下个1.9.2以上的版本的源码编译安装就好了

群贤毕至

访客