出现 “fatal: The remote end hung up unexpectedly” 的原因是推送的文件太大了。

可以先看这篇文章忽略掉 Cocoapods 引入的三方文件:Git 【.gitignore】

如果说还是没有办法解决,那么我们可以修改 git 限制提交缓存的大小。

进入隐藏文件 .git 下,打开 config 文件。修改为一个较大的提交缓存值,如下为 500MB:

[core]repositoryformatversion = 0filemode = truebare = falselogallrefupdates = trueignorecase = trueprecomposeunicode = true
[remote "origin"]url = git@gitee.com:yigaosu/eHighSpeed.gitfetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]remote = originmerge = refs/heads/master
[http]postBuffer = 524288000

500MB = 1024 * 1024 * 500 = 524288000 B

Git 【fatal: The remote end hung up unexpectedly 问题】相关推荐

  1. git fatal: The remote end hung up unexpectedly 错误

    创建了一个GitHub项目,将本地仓库的Java图书推上去,出现这个错误. $ git push Counting objects: 161, done. Delta compression usin ...

  2. linux git 问题:fatal: early EOF fatal: The remote end hung up unexpectedly fatal: index-pack failed

    linux从github git较大的文件时出现的问题,查找以下,暂时关闭防火墙可行,或许还有其他好的解决办法,暂时记录下: 出现问题: git clone --recursive https://g ...

  3. git提交报异常,fatal: The remote end hung up unexpectedly

    转自:http://liucanwen.iteye.com/blog/2021601 早上提交代码到 oschina代码库时,报了这个错误: Java代码   fatal: The remote en ...

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

    在使用git推送项目时候出现 "fatal: The remote end hung up unexpectedly " 原因是推送的文件太大. 解决方案: 在克隆/创建版本库生成 ...

  5. git提交失败提示 fatal:The remote end hung up unexpectedly

    遇到的问题 今天在提交的代码时遇到提交失败的问题,经过测试发现提交较少的文件没有问题,提交的改动比较大的时候就会出现报错,所以基本排除git权限导致的问题. 报错信息如下: error: RPC fa ...

  6. 04-git 推送出现 fatal: The remote end hung up unexpectedly 解决方案

    在使用git推送项目时候出现 "fatal: The remote end hung up unexpectedly " 原因是推送的文件太大. 解决方案1: 在克隆/创建版本库生 ...

  7. fatal The remote end hung up unexpectedly

    异常信息 Counting objects: 61350, done. Delta compression using up to 2 threads. Compressing objects: 10 ...

  8. fatal: The remote end hung up unexpectedly

    问题描述 使用 git push 推送代码的时候报错: fatal: The remote end hung up unexpectedly 解决办法 .git目录下面,修改config文件,增加 p ...

  9. fatal: The remote end hung up unexpectedly解决方案

    在使用 git 更新项目时遇到了这句报错信息: fatal: The remote end hung up unexpectedly 尝试了以下两种方法: 修改缓存大小 git config --gl ...

最新文章

  1. 树莓派镜像源切换之旅.md
  2. java日志——修改日志管理器配置+日志本地化
  3. 云上应用系统数据存储架构演进
  4. python records库_Python Records库使用举例
  5. 海思3559AV100上运行自己训练的yolov3
  6. ise生成msk文件的用处_ISE中上载程序出错,msk文件缺失有关问题
  7. Danfo.js专题 - Danfo.js与Dnotebook简介与入门
  8. android.jar 位置,Android 导入jar包 so模块--导入放置的目录
  9. 天锐绿盾屏幕监控,违规操作全记录
  10. 公司部门英文缩写简称收集
  11. CF1427E Xum
  12. An工具介绍之宽度工具、变形工具与套索工具
  13. java看片_java – 如何正确查看片段
  14. 【源码】一维测距仪和单目相机的外部校准(5自由度)
  15. JS实现国家、省、市
  16. response导出html到word
  17. 跳槽?内卷?2022金三银四下程序员的自我修养
  18. signature=501807407682dd47ffe7345fc7b18d2e,Signature-Free Intrusion Detection
  19. 如何维护好计算机内存,内存日常维护技巧方法介绍
  20. 04-17.eri-test Como criar uma linguagem usando ANTLR4 e Java

热门文章

  1. 常见五轴机床的机械结构形式讲解!
  2. EC20 centos7 调试_CentOS 7实现离线下载
  3. 共轭转置matlab,何为共轭转置?
  4. 兔子问题 php,PHP基于递归算法解决兔子生兔子问题php技巧
  5. circos 可视化手册-histograms 篇
  6. EOS区块链技术开发(二)智能合约
  7. hdwiki中lib文件目录功能
  8. 【可视化开发】数据大屏可视化技术汇总
  9. hadoop yarn web无法访问
  10. 多模态融合技术综述和应用