GIT-常见错误和解决办法总结

**************************************************************************************************************

BUG1

问题:OpenSSL SSL_read: Connection was reset, errno 10054

show:

解决办法:解除SSL验证,在命令行中输入:

git config --global http.sslVerify "false"

*******************************************************************************************

BUG2

问题2:You are not currently on a branch(当前不是在分支上)

show:

解决办法:

git branch temp bdcfe3d8

git checkout master

git merge temp

********************************************************************************************

BUG3

问题3:error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly before end of the underlying st

 解决办法:

修改协议: 因为是git调用,所以在GIT层面修改配置

在这里插入图片描述

git config --global http.version HTTP/1.1

BUG4

问题:error: RPC failed; curl 18 transfer closed with outstanding read data remaining

解决办法:curl的postBuffer默认值太小的原因,调整到了2G,然后就成功了,是根据以下命令调整的

git config --global http.postBuffer 524288000

猜你喜欢

转载自blog.csdn.net/m0_56022510/article/details/130444003