自学内容网 自学内容网

git push命令报错:the remote end hung up unexpectedly

Git Push报错信息如下

Total 3632 (delta 819), reused 3035 (delta 521)
fatal: the remote end hung up unexpectedly

修复方式

找到项目下的隐藏文件夹.git(注意前面是带着点的),修改里面的config这个文件,在最后加上以下内容

[http]
    postBuffer = 524288000

原因分析

在使用git push命令的时候,如果上传的文件比较多,就会超出git的http缓冲区。加大git的http缓冲区即可解决。

致谢

https://blog.csdn.net/qq_37380933/article/details/140922355


原文地址:https://blog.csdn.net/u011924665/article/details/142337040

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!