您的位置:首页 > 编程语言

git上传到一半最后报error:failed to push some refs to 'git@github.com:yourname/repositoryname.git'

2017-03-09 20:55 671 查看
今天上传代码到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了几次,最后成功了,可能原因是文件太大或者网络不稳定导致的问题。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐