无法克隆存储库:“致命:远程未发送所有必要的对象”

Gue*_*lla 9 git

我正在尝试克隆此存储库: https: //github.com/emonney/QuickApp但出现错误:

致命:远程未发送所有必需的对象

这是完整的输出:

$ git clone https://github.com/emonney/QuickApp
Cloning into 'QuickApp'...
remote: Counting objects: 2150, done.
remote: Total 2150 (delta 0), reused 0 (delta 0), pack-reused 2150
Receiving objects: 100% (2150/2150), 30.28 MiB | 3.01 MiB/s, done.
Resolving deltas: 100% (1471/1471), done.
usage: git rev-list [OPTION] <commit-id>... [ -- paths... ]
  limiting output:
    --max-count=<n>
    --max-age=<epoch>
    --min-age=<epoch>
    --sparse
    --no-merges
    --min-parents=<n>
    --no-min-parents
    --max-parents=<n>
    --no-max-parents
    --remove-empty
    --all
    --branches
    --tags
    --remotes
    --stdin
    --quiet
  ordering output:
    --topo-order
    --date-order
    --reverse
  formatting output:
    --parents
    --children
    --objects | --objects-edge
    --unpacked
    --header | --pretty
    --abbrev=<n> | --no-abbrev
    --abbrev-commit
    --left-right
    --count
  special purpose:
    --bisect
    --bisect-vars
    --bisect-all
fatal: remote did not send all necessary objects
Unlink of file 'QuickApp/.git/objects/pack/pack-43a2031dca4d230e6f6a3333445136c9a7928657.idx' failed. Should I try again? (y/n)
Run Code Online (Sandbox Code Playgroud)

如果我选择y它只会继续给我同样的错误。

这是存储库的问题还是我可以解决的问题?(我没有回购协议,只是想获取代码)

Joh*_*nck 4

这对我来说可以。您的文件系统很可能git非常旧(我使用的是 2.15),或者您的文件系统已过时或不足以完成任务(例如,您使用的是 FAT 吗?)。

git在另一个系统上尝试一下,如果旧系统则升级。