Git推送:FATAL:远程端意外地挂断了远程主机关闭的与githorb.com的连接 [英] git push: fatal: the remote end hung up unexpectedly Connection to github.com closed by remote host

查看:19
本文介绍了Git推送:FATAL:远程端意外地挂断了远程主机关闭的与githorb.com的连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用ssh和RSA密钥访问GitHub,但当我将文件推送到存储库时,它不起作用。

ykhan21@LENOVO-LEGION:~/repos/homework-1-ykhan21$ git push
Enumerating objects: 6, done.
Counting objects: 100% (6/6), done.
Delta compression using up to 12 threads
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 2.79 KiB | 2.79 MiB/s, done.
Total 4 (delta 0), reused 0 (delta 0)
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
Connection to github.com closed by remote host.

我如何修复此问题?

推荐答案

我发现当您的文件太大时通常会出现此错误。但我的文件没有,我能够推进我所有的其他项目。重新克隆到单独的目录有帮助,但没有解决原始问题。

这篇关于Git推送:FATAL:远程端意外地挂断了远程主机关闭的与githorb.com的连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆