无法获取整个存储库 Early EOF CURL 18

发布于 2025-01-09 04:10:01 字数 751 浏览 0 评论 0原文

我尝试了很多不同的方法,但都没有效果。为了工作,我正在尝试克隆一个相当大的存储库。我无法克隆整个内容,因此在 Sourcetree 中,我将克隆深度更改为“1”。一旦我这样做了,我尝试了浅化,但这不起作用,所以然后我尝试将压缩设置为“0”并将缓冲区更改为大约 500mill。没有变化。每次我在 sourcetree 的终端中运行任何 unshallow 或“git fetch --depth 1”命令时,我都会收到以下消息。我的互联网连接速度相当慢,所以我去找了我的兄弟,他们的下行速度为 500mb,上行速度为 200mb,并尝试通过硬连线连接。还是一样。我可以尝试什么?我承认我对 Git 和 Sourcetree 缺乏经验。

$ git fetch --depth=1
remote: Enumerating objects: 15003, done.
remote: Counting objects: 100% (15003/15003), done.
remote: Compressing objects: 100% (13128/13128), done.
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
error: 1020 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: index-pack failed

I have tried this a number of different ways to no avail. For work, I am trying to clone a fairly large repository. I couldn't clone the whole thing, so in Sourcetree, I changed the clone depth to "1". Once I did that, I tried unshallowing, and that didn't work, so then I tried turning the compression to "0" and changing the buffer to around 500mill. No changes. Every time I run any of the the unshallow or "git fetch --depth 1" commands in the terminal in sourcetree, I get the below message. My internet connection is pretty slow, so I went to my brothers who has like a 500mb down and 200up connection and tried through a hard-wired connection. Still same. What can I try? I will admit that I am inexperienced with Git and Sourcetree.

$ git fetch --depth=1
remote: Enumerating objects: 15003, done.
remote: Counting objects: 100% (15003/15003), done.
remote: Compressing objects: 100% (13128/13128), done.
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
error: 1020 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: index-pack failed

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文