- 报错1如下:
HTTP/2 stream 1 was not closed cleanly before end of the underlying stream
error: RPC failed; curl 16 Error in the HTTP2 framing layer fatal: expected flush after ref listing
解决: 修改http配置
git config --global http.version HTTP/1.1
- 以上操作后,报错2如下:
unable to access '... ...': Failed to connect to github.com port 443 after 75018 ms: Couldn't connect to server
解决1:
由于我目前环境是开了vpn的,关了vpn就成功clone了
解决2:
上网检索到可能可以通过配置git使用相关代理解决,参考链接如下:
下次遇到可以试试...