如果我拉了獲取遠程混帳致命的:無法讀取對象XXX:無效的參數
$ git pull
remote: Counting objects: 85, done.
remote: Compressing objects: 100% (37/37), done.
remote: Total 85 (delta 63), reused 69 (delta 48)
Unpacking objects: 100% (85/85), done.
error: inflate: data stream error (unknown compression method)
fatal: failed to read object 8b0fd4094630fea108b60faa15535ffbc85d87cb: Invalid argument
error: http://myremoterepo.com/project.git did not send all necessary objects
我可以在本地提交我收到以下錯誤。當我檢查狀態:
> $ git status On branch vikas Your branch is based on 'origin/master',
> but the upstream is gone. (use "git branch --unset-upstream" to
> fixup) nothing to commit, working directory clean
請參見[this](http://stackoverflow.com/questions/25527812/git-corrupted-repo-how-to-pick-a-git-object-from-a-clean-repository)和[this](http://stackoverflow.com/questions/4254389/git-corrupt-loose-object) – pRaNaY
當我打開一個文件'8b/0fd4094630fea108b60faa15535ffbc85d87cb'時,它的'0000 0000'或'NULL NULL NULL ...' – Vikas