git “error: corrupt loose object” after moving a directory
问题 I'm not sure if I had this error because I moved the directory that had all project files and .git but the error appeared around that time. > git fsck error: corrupt loose object '25a196217ebb6e341909205575f491022eafc4d9' fatal: loose object 25a196217ebb6e341909205575f491022eafc4d9 (stored in .git/objects/25/a196217ebb6e341909205575f491022eafc4d9) is corrupt I searched for an answer and tried few things nothing worked. How to recover Git objects damaged by hard disk failure? resulted in mv: