MENU

#Linux运维#git clone https://github.com/sheila1227/ChatRoom-AngularJS Cloning into 'ChatRoom-AngularJS'... fatal: unable to access 'https://github.com/sheila1227/ChatRoom-AngularJS/': Peer repor

November 1, 2018 • Linux阅读设置

[root@MyCloudServer ~]# git clone https://github.com/sheila1227/ChatRoom-AngularJS
Cloning into 'ChatRoom-AngularJS'...
fatal: unable to access 'https://github.com/sheila1227/ChatRoom-AngularJS/': Peer reports incompatible or unsupported protocol version.

查看下git版本,为1.8.x(默认yum源的版本),故猜到为版本太低造成的问题。升级git最新版后再执行git pull,还是报错。尝试升级了下基本的包

sudo yum update nss curl  # nss为名称解析和认证服务 curl为网络请求库

这样即可解决问题。