git 推送出现 "fatal: The remote end hung up unexpectedly" 解决方案

本文转载于:https://blog.csdn.net/zcmain/article/details/76855595

https://blog.csdn.net/u012973744/article/details/18814397

在使用git推送项目时候出现 "fatal: The remote end hung up unexpectedly " 原因是推送的文件太大。

解决方案:

       在克隆/创建版本库生成的 .git目录下面修改生成的config文件增加如下:

 

  1.  
    [http]
  2.  
    postBuffer = 524288000

即修改提交缓存大小为500M

 

 

  

  

重新推送即可。

posted @ 2018-08-02 00:43  Curo  阅读(6158)  评论(0编辑  收藏  举报