GitHub push文件失败时

来源:互联网 发布:桌面透明倒计时软件 编辑:程序博客网 时间:2024/09/21 06:38

在使用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


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

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



0 0