git clone网速慢/中断 fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed

git clone一直出现

fatal: The remote end hung up unexpectedly

fatal: early EOF

fatal: index-pack failed

尝试过的方法如下:(都没成功)

git config --global http.postBuffer 2000000000

git config --global core.compression -1

git config --global core.compression 9

网页直接下载也不成功

从码云转存后下载成功

  1. 在码云中新建仓库
  2. 选择导入已有仓库,粘贴github要下载的链接
  3. 下载这个新建的仓库即可

发布了19 篇原创文章 · 获赞 2 · 访问量 5788

猜你喜欢

转载自blog.csdn.net/dongmie1999/article/details/104102260
今日推荐