如何修复GIT错误:切换分支时目标文件为空

时间:2012-08-27 10:51:52

标签: git

我在分行master。结账到zc分行时,我被告知object file is empty

$ git branch 
  demo
  develop
* master
  zc

$ git checkout zc
error: unable to find 00d2a5741d54116a156e477093c3fcf30b24c6b3
error: unable to read sha1 file of doc/build/html/_sources/props/buyhp.txt (00d2a5741d54116a156e477093c3fcf30b24c6b3)
error: object file .git/objects/ee/4fc9118d213089e959b1625405c4b835cd4af7 is empty
error: unable to find ee4fc9118d213089e959b1625405c4b835cd4af7
error: object file .git/objects/ee/4fc9118d213089e959b1625405c4b835cd4af7 is empty
fatal: loose object ee4fc9118d213089e959b1625405c4b835cd4af7 (stored in .git/objects/ee/4fc9118d213089e959b1625405c4b835cd4af7) is corrupt

0 个答案:

没有答案