Git error: inflate: data stream error (unknown compression method)

后端 未结 2 1515
一生所求
一生所求 2021-02-03 18:33

I am getting Git error: inflate: data stream error (unknown compression method) fatal: failed to read object : Invalid argument error when I try do

相关标签:
2条回答
  • 2021-02-03 19:20
    1. Do a git fsck --full
    2. Did it report a corrupted file?
    3. If so delete the file, go back to step #1.
    4. Do del .git/index
    5. Do git reset
    0 讨论(0)
  • 2021-02-03 19:23

    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

    0 讨论(0)
提交回复
热议问题