github - How to sove the error 'The remote end hung up unexpectedly fatal: sha1 file '' write error: Broken pipe error'?
问题描述
While pushing the file to github I get the above mentioned error. In detail the error is as follows:
Connection reset by 13.234.176.102 port 22
fatal: The remote end hung up unexpectedly
fatal: sha1 file '<stdout>' write error: Broken pipe
error: failed to push some refs to 'Github URL'
Is it File size issue or its corrupted?
解决方案
我今天遇到了同样的错误,
我用谷歌搜索这个问题并找到以下评论:
https://help.github.com/articles/working-with-large-files/
If you attempt to add or update a file that is larger than 50 MB, you will receive a warning from Git. The changes will still successfully push to your repository, but you can consider removing the commit to minimize performance impact.
所以我使用以下命令来调整缓冲区大小,它可以工作
git config http.postBuffer 52428800
推荐阅读
- jekyll - Jekyll SystemStackErorr“堆栈级别太深”与 github 页面一起服务
- python-3.6 - 在 Lektor 的动态菜单中使用替代(翻译)标题
- json - Zomato JSON 响应
- ios - Swift XMLMapper 解码嵌套属性
- google-cloud-platform - 不能将 NOT NULL 设置为 ARRAY 类型的列
- c# - 如何显示这种 [h]:mm:ss 格式的时间?
- php - 如何使用 php 或 curl 在 Dropbox 中上传文件
- matrix - Rust 特征:边界可能没有实现,我实现的特征不存在
- java - 有没有办法通过意图从 Android For Work 应用程序启动个人浏览器?
- javascript - 流星集合挂钩更新数组中某个位置的元素