致命:读取错误:对等连接重置 [英] fatal: read error: Connection reset by peer
本文介绍了致命:读取错误:对等连接重置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有人可以帮我摆脱以下困扰吗?
Can some one help me to get rid of following:
vijay13@ubuntu:~$ git clone git://anongit.kde.org/plasma-mediacenter
Cloning into 'plasma-mediacenter'...
fatal: read error: Connection reset by peer
还有
vijay13@ubuntu:~$ git clone git@git.kde.org:plasma-mediacenter
Cloning into 'plasma-mediacenter'...
Read from socket failed: Connection reset by peer
fatal: The remote end hung up unexpectedly
如何摆脱上述两个问题?
How to get rid of both above issues?
推荐答案
如果互联网连接也很好,请运行
If internet connection is also fine, just run
git gc
,然后重试.它清除不必要的文件并优化本地存储库.有关更多详细信息: git文档
and try again. It cleans up unnecessary files and optimize the local repository. For more details: git documentation
这篇关于致命:读取错误:对等连接重置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文