Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to sove the error 'The remote end hung up unexpectedly fatal: sha1 file '<stdout>' write error: Broken pipe error'?

Tags:

github

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?

like image 792
Pranav Avatar asked Sep 16 '25 07:09

Pranav


1 Answers

I met the same error today,

enter image description here

I google this issue and find below comments:

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.

so I used the following command to resize the buffer size, it works

git config http.postBuffer 52428800

enter image description here

like image 53
黄海峰 Avatar answered Sep 19 '25 15:09

黄海峰



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!