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

  

  

重新推送即可。

猜你喜欢

转载自www.cnblogs.com/curo0119/p/9404794.html
今日推荐