I have met an error before(GIT error: object file is empty)
Then I used the method mentioned in how to fix GIT error: object file is empty?
After I updated the HEAD pointer to a good object, it does work .but when I restart the machine ,the same error(object file is empty) occured.
I tried find . -type f -empty -delete
to delete all the empty files and type git fsck --full
then the new error occured.(GIT error: HEAD: invalid reflog entry xxxxxxxxxxxxxxxx)
Is there anything wrong with my GIT? or just because of my bad operations? And how to fix this problem?