异常信息

Counting objects: 61350, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (20587/20587), done.
efatal: The remote end hung up unexpecterror: RPC failed; HTTP 413 curl 22 The requested U
RL returned error: 413 Request Entity Too Large
dly
Writing objects: 100% (61350/61350), 4.32 GiB | 657.00 KiB/s, done.
Total 61350 (delta 39636), reused 59367 (delta 37653)
fatal: The remote end hung up unexpectedly
Everything up-to-date

场景描述

fatal: The remote end hung up unexpectedly
上传一份代码的时候,出现了这个错误,然后就没有成功上传.


异常原因

目前是成功解决问题了,根据错误,这个是明显的文件过大导致的上传失败了,我实际更改的时候是直接更改的1g了.
算是成功解决问题.
看到还有用git命令直接修改的,由于一次就成功了,就没有再重新尝试一下修改之后能够行得通了,后面遇到再试了.


解决方案

更改为https推送
git remote remove origin
git remote add origin https://github…com/user/repo
git push --set-upstream origin master

windows:
在 .git/config 文件中加入
[http]
postBuffer = 1048576000
linux:
git config http.postBuffer 1048576000


参考资料

Git中push时出现错误fatal: The remote end hung up unexpectedly - 行者小朱的博客 - CSDN博客
http://blog.csdn.net/u012050154/article/details/54605256
解决RPC failed; HTTP 413 curl 22 The requested URL returned error: 413 Request Entity Too Large问题 - 飞鱼君 - 博客园
https://www.cnblogs.com/feiyujun/p/7755764.html

推荐阅读
●Java构架师之路
●计算机教程汇总
●Java面试大全
●网站推荐
●软件推荐
●点击加入QQ群874514813交流学习,或获取更多资料

fatal The remote end hung up unexpectedly相关推荐

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

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

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

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

  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. fatal: The remote end hung up unexpectedly

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

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

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

  7. Git 【fatal: The remote end hung up unexpectedly 问题】

    出现 "fatal: The remote end hung up unexpectedly" 的原因是推送的文件太大了. 可以先看这篇文章忽略掉 Cocoapods 引入的三方文 ...

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

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

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

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

最新文章

  1. mysql象限和投影_PostGIS空间数据库SRID背景知识 - 地理坐标系(球面坐标系)和投影坐标系(平面坐标系) - GIS开发者...
  2. 《图解HTTP》读书笔记--第1章 了解Web及网络基础
  3. Node.js 的http.serverRequest 或http.IncomingMessage
  4. 阿里云服务器 搭建单体redis 以及踩坑
  5. java创建目录时带权限_java – 无法在外部存储中创建目录,尽管权限显然设置正确...
  6. Spring Boot笔记-validation的使用及统一异常处理
  7. MySQL中创建用户
  8. VTK(二)vs2010第一个VTK程序。
  9. VMWare关闭beep声
  10. html微信窗口阻止滚动条,微信浏览器禁止页面下拉查看网址(不影响页面内部scroll)...
  11. 漫威电影(复仇者联盟)系列观看顺序和资源下载地址
  12. libcef-框架架构中概念介绍-命令行参数-元素布局-应用程序结构(二)
  13. python ocr识别 沪牌_7月沪牌拍后分析:毫秒之间,锁定中标
  14. 一张图,区分NPN于PNP型三极管的工作原理
  15. Hadoop:Browse Directory Couldn‘t upload the file
  16. Windows系统的Chrome 调试运行在 IOS-safari (iPad/iPhone)上的页面
  17. 那些英年早逝的 IT 劳模们
  18. python3阿里巴巴股票数据统计
  19. 每日任务:1276. 不浪费原料的汉堡制作方案
  20. 东北大学计算机录取分数线2020,985双一流大学 东北大学2020年各省分专业最低录取分数线...

热门文章

  1. 数据结构的形式定义、数据的逻辑结构、数据的存储结构
  2. 2020李宏毅学习笔记——14.Convolution Netural Network
  3. Hark的数据结构与算法练习之耐心排序
  4. ZOHO企业邮箱教程(试用30/15天)
  5. 贺世界智能网联汽车大会-速锐得V8翻开智能驾驶汽车新篇章
  6. Reporting verbs
  7. 手机号归属地运营商查询-JAVA
  8. 持续集成(Continous Integration)
  9. 名字真好听的五子棋——12周进度
  10. PP实施经验分享(17)——S4 PP与ME标准接口报工函数“CO_MES_PRODORDCONF_CREATE_TT”