有人可以帮我摆脱以下问题:
vijay13@ubuntu:~$ git clone git://anongit.kde.org/plasma-mediacenter
Cloning into 'plasma-mediacenter'...
fatal: read error: Connection reset by peer
And
vijay13@ubuntu:~$ git clone [email protected] /cdn-cgi/l/email-protection:plasma-mediacenter
Cloning into 'plasma-mediacenter'...
Read from socket failed: Connection reset by peer
fatal: The remote end hung up unexpectedly
如何摆脱以上两个问题呢?
如果互联网连接也很好,只需运行
git gc
然后再试一次。它清理不必要的文件并优化本地存储库。更多细节:git 文档 https://git-scm.com/docs/git-gc
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)