1
Git版本1.7.7.4無效的對象試圖克隆庫
我就從我的混帳程序存儲庫克隆和我得到了以下錯誤:
remote: fatal: failed to read object a89f72f06a1f6f56f924b0e8ae9e33f477da8fcd: Invalid argument
error: git upload-pack: git-pack-objects died with error.
remote: aborting due to possible repository corruption on the remote side.
fatal: early EOF
fatal: git upload-pack: aborting due to possible repository corruption on the remote side.
fatal: index-pack failed
於是我就到庫本身進行檢查和我得到這個:
git fsck
fatal: failed to read object 1aea37c864c6b5d0d60d6fc38117bc420671b692: Invalid argument
那麼我這樣做是爲了嘗試解決問題:
git gc --prune
fatal: failed to read object a89f72f06a1f6f56f924b0e8ae9e33f477da8fcd: Invalid argument
error: failed to run repack
無論如何,我可以解決這個問題嗎?
非常感謝,
如果您有一個好的存儲庫,可以很容易地複製該對象。見http://stackoverflow.com/questions/801577/how-to-recover-git-objects-damaged-by-hard-disk-failure – 2011-12-23 05:32:37