While pushing my repo to Heroku I ran a git pull command and it accidentally deleted my local repo. I understand that these files are just stored as objects in .git but whenever I run
git checkout .
I get this error
error: unable to read sha1 file of <file_name> (7caddd272623f5c80b13bcc584418d803e318a19)
Any help would be appreciated