error: RPC failed; curl 16 Error in the HTTP2 framing layerfatal: expected flush after ref listing
问题描述:
git pull origin main
报错error: RPC failed,curl 16 Error in the HTTP2 framing laye
解决方法1:
git config --global http.sslVerify false
git config --global http.postBuffer 1048576000
方法1解决了我的问题
解决方法2:
git config --global http.version HTTP/1.1
//如果要设置回http2git config --global http.version HTTP/2
参考链接:
https://stackoverflow.com/questions/38378914/how-to-fix-git-error-rpc-failed-curl-56-gnutls