git fatal: The remote end hung up unexpectedly 错误

来源:互联网 发布:淘宝如何举报卖家违规 编辑:程序博客网 时间:2024/04/26 04:05

使用git将本地项目添加到远程仓库报以下错误

$ git push -u origin master

Counting objects: 2053, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (1983/1983), done.
Connection reset by 192.30.255.112
fatal: The remote end hung up unexpectedly | 7.00 KiB/s
fatal: sha1 file '<stdout>' write error: Broken pipe

error: failed to push some refs to 'git@github.com:xxx/xxx.git'


fatal: The remote end hung up unexpectedly | 7.00 KiB/s

这句显示 远程结束挂起 |7kb/s

应该是墙的原因导致网速太慢,且项目有点大上传不上


解决办法:翻墙 或者等等重新在push一遍 就没问题了

0 0