Git:解决报错:fatal: The remote end hung up unexpectedly

问题描述:Git在推送项目时报错:fatal: The remote end hung up unexpectedly。

问题原因:推送的文件太大。

解决方法:

1.修改设置git config文件的postBuffer的大小。(设置为500MB)

$ git config --local http.postBuffer 524288000

注:--local选项指定这个设置只对当前仓库生效。

本文作者:bitterteaer

本文链接:https://www.cnblogs.com/bitterteaer/p/17487367.html

版权声明:本作品采用知识共享署名-非商业性使用-禁止演绎 2.5 中国大陆许可协议进行许可。

posted @   bitterteaer  阅读(554)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示
评论
收藏
关注
推荐
深色
回顶
收起