首页 > 解决方案 > 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?

标签: github

解决方案


我今天遇到了同样的错误,

在此处输入图像描述

我用谷歌搜索这个问题并找到以下评论:

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

在此处输入图像描述


推荐阅读