git提交代码出现 fatal: The remote end hung up unexpectedly-错误处理
发布日期:2021-06-30 11:55:29 浏览次数:2 分类:技术文章

本文共 819 字,大约阅读时间需要 2 分钟。

创建了一个GitHub项目,将本地仓库的vue项目推上去,出现这个错误

$ git pushCounting objects: 161, done.Delta compression using up to 4 threads.Compressing objects: 100% (159/159), done.error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054fatal: The remote end hung up unexpectedly | 35.00 KiB/sWriting objects: 100% (161/161), 488.57 MiB | 341.00 KiB/s, done.Total 161 (delta 20), reused 0 (delta 0)fatal: The remote end hung up unexpectedlyEverything up-to-date

经过在StackOverFlow上查询得知,可能是上传的文件太大导致的。

With this kind of error, I usually start by raising the postBuffer size by:git config --global http.postBuffer 524288000(some comments below report having to double the value):git config --global http.postBuffer 1048576000

因此设置 git config http.postBuffer 524288000 发现没有解决,尝试再增大一倍还是没有解决。

可能是网络问题,最后是通过每次提交部分文件,减少每次提交的文件总大小来解决的。

 

转载地址:https://jackiehao.blog.csdn.net/article/details/115126858 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:CSS实现优惠券特殊样式的技巧
下一篇:网页打开终端判断,移动端跳转移动端网址

发表评论

最新留言

路过按个爪印,很不错,赞一个!
[***.219.124.196]2024年04月25日 04时40分02秒