1

以前我可以从这个存储库中提取,但最近我收到了这个错误

machine@bj ~/Desktop/rails-master (master)
$ git remote add origin https://github.com/rails/rails

 machine@bj ~/Desktop/rails-master (master)
 $ git pull origin master
 remote: Counting objects: 325661, done.
 remote: Compressing objects: 100% (86702/86702), done.
 effatal: early EOF  30% (97699/325661), 17.14 MiB | 861.00 KiB/s
 error: RPC failed; result=18, HTTP code = 200
 fatal: The remote end hung up unexpectedly
 fatal: index-pack failed

我在谷歌和其他地方搜索,但没有得到任何合适的帮助

请给我建议...任何形式的帮助都将是可观的....

谢谢

4

1 回答 1

1

在 Windows 上,我可以毫无问题地克隆 repo:

C:\Documents and Settings\VonC\prog\git>git clone https://github.com/rails/rails
Cloning into 'rails'...
remote: Counting objects: 381705, done.
remote: Compressing objects: 100% (96211/96211), done.
remote: Total 381705 (delta 293367), reused 368694 (delta 282130)
Receiving objects: 100% (381705/381705), 57.17 MiB | 587.00 KiB/s, done.
Resolving deltas: 100% (293367/293367), done.
Checking out files: 100% (2715/2715), done.

在 linux 上,它似乎也可以工作,除了最后:

[ VonC,vonc@laposte.net for github.com ]
Cloning into 'rails'...
remote: Counting objects: 381705, done.
remote: Compressing objects: 100% (96211/96211), done.
remote: Total 381705 (delta 293367), reused 368694 (delta 282130)
Receiving objects: 100% (381705/381705), 57.17 MiB | 655.00 KiB/s, done.
Resolving deltas: 100% (293367/293367), done.
Checking connectivity... done
error: git-remote-https died of signal 13

所以尝试:

  • 将其克隆到新文件夹中以检查是否效果更好
  • 确保尽可能使用最新的 git 版本
于 2013-09-02T07:14:04.973 回答