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