I am a beginner in GIT and now I meet with a big problem. I commit and push some files in another PC and now on my home PC git is broken.
Please look below:
$ git status
fatal: failed to read object f4927c0e01f566faf3ef5cb55f974b524af4449c: Invalid argument
$ git commit -m "test"
fatal: failed to read object feb4df55618847c02cb13d334fdac4a313701aed: Invalid argument
$ git pull
fatal: failed to read object f4927c0e01f566faf3ef5cb55f974b524af4449c: Invalid argument
$ git add .
fatal: failed to read object f4927c0e01f566faf3ef5cb55f974b524af4449c: Invalid argument
and last one:
$ git push
Everything up-to-date
Is it any possibiliti to repair my git?
Best Regards!
EDIT: Just delete .git folder. Change name of project folder Clone from github Add new files from my older folder.
I I could do this because I only added new files without any changes to the code.