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

GIT-常见错误和解决办法总结_第1张图片

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

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-常见错误和解决办法总结_第2张图片

解决办法:

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-常见错误和解决办法总结_第3张图片

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

你可能感兴趣的:(git,github,服务器)