报错如下:
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.