Git - fatal: unknown index input format 61740000

When I try to use git statuseither git checkout masteror git pull,

I get the error : -

"fatal: unknown index record format 61740000".

I tried to reinitialize an existing Git repository. But the problem is not resolved.

I am new to git and I just made the first branch, making some changes and try to commit the changes.

I tried a search on Google, but can not find the right solution for the code 61740000 .

Edit: deleted the entire local repository, and then again cloned from the remote repository (git status worked), created a branch (git status worked) and made changes to the files (git status error).

Please, help.

+4
source share
1 answer

When your index is broken, you can usually delete them or backup and reset them.

rm -f .git/index
git reset

or you clone the repo again.

+11
source

Source: https://habr.com/ru/post/1688720/


All Articles