error: RPC failed; HTTP 302 curl 22 The requested URL returned error: 302
fatal: the remote end hung up unexpectedly
今天在下载QCC原码时失败,记录一下:
出现此原因的问题:
1,http.followRedirects 不能自动跳造成的。
需要 git config --global http.https://xxx.xxx.git .followRedirects "true"
其中,需要把: https://xxx.xxx.git 改成你要 clone 的网址。
比如: https://gitee.xxx.git