git报错Peer reports incompatible or unsupported protocol version

git clone项目时出现类似如下错误:

1
2
3
4
5
# git clone https://github.com/iyezhou/Android-YzHttp.git
Cloning into '91porn'...
fatal: unable to access 'https://github.com/iyezhou/Android-YzHttp.git/': Peer reports incompatible or unsupported protocol version.
# git --version
git version 2.13.2

解决办法:

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

Powered by AppBlog.CN     浙ICP备14037229号

Copyright © 2012 - 2020 APP开发技术博客 All Rights Reserved.

访客数 : | 访问量 :