Git fatal error fatal: unable to read blob object 724b6f6b35fd871a84ab1742099de2c3671d7899

I have a fatal git error that I cannot solve when trying and git merge :

 fatal: unable to read blob object 724b6f6b35fd871a84ab1742099de2c3671d7899 

A similar question here , but the difference is that they cannot find blob anyway, while I can:

 ./git-find-blob 724b6f6b35fd871a84ab1742099de2c3671d7899 

gives

 b937291 foo c616ee2 bar 46c2720 whatever e48c437 something 057e1b0 ........ 

where git-find-blob was a program introduced in another SO question here

git-find-blob finds many commits.

Any ideas how I can fix this? I do not know about it!

Many thanks:).

+4
source share
1 answer

The error tells you that it cannot find the source for this blob in your file system, presumably due to any damage to the file system or storage.

git-find-blob finds links to this blob, not the blob itself.

git fsck will check your repository, but will probably just report the same error.

ls -al .git/objects/72/4b6f6b35fd871a84ab1742099de2c3671d7899 to check if it exists at all, and if it has mixed permissions, otherwise follow the set of instructions of your choice to recover from damage to the repository; preferably if everything was clicked re cloning ?

+3
source

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


All Articles