GitHub push文件失败时

在使用GitHub push最新的文件时,有时可能会出错,下面列出解决方案,这时需要用到GitShell

1.报错如下

fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
error: RPC failed; curl 56 SSL read: error:00000000:lib(0):func(0):reason(0), er
rno 10053
Everything up-to-date

GitHub push文件失败时_第1张图片

这时,很有可能是上传的文件太大,缓存不够,默认只有1M,现在我们改为500M

执行如下命令 git config http.postBuffer 524288000,然后git push



你可能感兴趣的:(GitHub push文件失败时)