gpt4 book ai didi

github - 如何解决错误 'The remote end hung up unexpectedly fatal: sha1 file ' ' write error: Broken pipe error'?

转载 作者:行者123 更新时间:2023-12-05 03:56:40 29 4
gpt4 key购买 nike

将文件推送到 github 时出现上述错误。详细错误如下:

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'

是文件大小问题还是损坏了?

最佳答案

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

enter image description here

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

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

enter image description here

关于github - 如何解决错误 'The remote end hung up unexpectedly fatal: sha1 file ' <stdout >' write error: Broken pipe error'?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59123876/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com