Tag Archives: Version management

[Solved] Git error: bad signature 0x00000000 fatal: index file corrupt

Git error : bad signature 0x00000000 fatal: index file corrupt

Problem-solving method

Question

After the computer blue screen restarts, resubmit the code prompt bad signature 0x00000000 fatal: index file corrupt

Solution:

Delete the old index file and rebuild the index file
under Windows

# Delete old index files
del .git\index
# Rebuild index file
git reset

Problem-solving