如何修复 Git 中的“packet_write_wait:连接到...损坏的管道”错误

2024-02-14

当我git push文件发送到我的远程存储库,它会抛出错误“packet_write_wait:连接到 13.250.177.223 端口 22:管道损坏”?之前git push,我已经从远程克隆了该项目并且git add, git commit成功地。

我努力了git pull, git config http.postBuffer 52428800,但它不起作用。

HP@EverChan MINGW32 /d/ChromeDownload/jiaoben5049/meetingDemo (master)
$ git pull
packet_write_wait: Connection to 52.74.223.119 port 22: Broken pipe
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
HP@EverChan MINGW32 /d/ChromeDownload/jiaoben5049/meetingDemo (master)
$ git config http.postBuffer 52428800
HP@EverChan MINGW32 /d/ChromeDownload/jiaoben5049/meetingDemo (master)
$ git push -u origin master
Counting objects: 46, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (46/46), done.
packet_write_wait: Connection to 13.250.177.223 port 22: Broken pipe
Writing foabjecttals:   8:% The  (4/4remote end hung up u6nex)pectedly
fatal: sha1 file '<stdout>' write error: Broken pipe
fatal: The remote end hung up unexpectedly
HP@EverChan MINGW32 /d/ChromeDownload/jiaoben5049/meetingDemo (master)
$ git push -u origin master
packet_write_wait: Connection to 13.250.177.223 port 22: Broken pipe
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.



在将我的仓库推送到 github 的过程中对我有用的是添加IPQoS=吞吐量到 ~/.ssh/config 中的我的配置文件。确保 SSH 设置正确、添加到您的 Github 帐户等的其他步骤有详细说明here https://github.com/tanyagupta/codeblogs/blob/development/githubHowTos/howto.md

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

如何修复 Git 中的“packet_write_wait:连接到...损坏的管道”错误 的相关文章

随机推荐