今天上传代码到git上,上传一半卡住了,过了一会儿就报:
Counting objects: 52, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (48/48), done.
packet_write_wait: Connection to 192.30.253.113: Broken pipe
fatal: fatal: sha1 file '<stdout>' write error: Broken pipe
The remote end hung up unexpectedly
error:failed to push some refs to 'git@github.com:yourname/repositoryname.git'
网上查原因,有人说是因为本地库没有READEME.md文件,我排查了一下,貌似不是这个原因。
后来索性就多push了几次,最后成功了,可能原因是文件太大或者网络不稳定导致的问题。
本文记录了一次使用Git上传代码过程中遇到的失败问题及其解决过程。主要错误信息为'Broken pipe',经过多次尝试最终成功推送。疑似由于文件过大或网络不稳定导致。
4634

被折叠的 条评论
为什么被折叠?



