Problems with corrupt git repo
My git repo got corrupted while running a find and replace command (See here: Git reset failing after find and replace ). So I deleted some pack files about which git told me that there were not reachable. So I ran rm ./.git/index, git reset. When running git commit, I got this message : fatal: corrupt tree sha $someSHA Finally git fsck, my working directory went clean and I was able to commit. The pb now is that when I run git checkout some_other_branch, I got this message fatal: unable to read tree $someSHA (The $someSHA appearing are the same). Someone could help me ? Edit 1 : when I run