我尝试使用 HTTP 克隆一个 git 存储库(来自 gitlab),但它给了我以下错误:
$ git clone http://gitlab.XXX....git
Cloning into 'XXX'...
remote: Enumerating objects: 241, done.
remote: Counting objects: 100% (241/241), done.
remote: Compressing objects: 100% (113/113), done.
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: index-pack failed
请问有什么解决办法吗?
请注意,该存储库很大(它包含 3.3GB 的资源)。
非常感谢!
最佳答案
这是由于您的互联网连接性较低。尝试换到不同的网络或检查您的互联网连接
关于来自 gitlab 的 git clone - 读取边带数据包时意外断开连接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66637046/