$ git pull
remote: fatal: object 21f3981dd35fccd28febabd96f27241eea856c50 is corrupted
error: git upload-pack: git-pack-objects died with error.
fatal: git upload-pack: aborting due to possible repository corruption on the remote side.
remote: aborting due to possible repository corruption on the remote side.
fatal: protocol error: bad pack header
任何想法为什么这会失败?
当我运行时,git --bare fsck-objects --full
我只看到悬挂的链接,但没有损坏的链接。也git gc
没有任何帮助。当我重新克隆或从另一个克隆中提取时,我看不到此错误。