I am getting
Git error: inflate: data stream error (unknown compression method) fatal: failed to read object <hach>: Invalid argument error
when I try do $ git status
. How can I fix it?
git fsck --full
del .git/index
git reset
I think it happened because maybe your computer or files were corrupted.
First back up your .git
folder, then use git fsck --full
command to check your file system then delete corrupt files and check it again until your problem disappear
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With