git clone error: RPC failed; result=35, HTTP code = 0 fatal: The remote end hung up unexpectedly


报错如下:

1 [15:08:30 root@localhost src]#git clone https://github.com/openresty/echo-nginx-module.git
2 Cloning into 'echo-nginx-module'... 3 error: RPC failed; result=35, HTTP code = 0
4 fatal: The remote end hung up unexpectedly

解决办法,将https//xxx 修改为git//xxx

1 [15:15:52 root@localhost src]#git clone git://github.com/openresty/echo-nginx-module.git
2 Cloning into 'echo-nginx-module'... 3 remote: Enumerating objects: 3025, done. 4 remote: Counting objects: 100% (7/7), done. 5 remote: Compressing objects: 100% (7/7), done. 6 remote: Total 3025 (delta 1), reused 3 (delta 0), pack-reused 3018
7 Receiving objects: 100% (3025/3025), 1.16 MiB | 313.00 KiB/s, done. 8 Resolving deltas: 100% (1625/1625), done.

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM