Github Repo Corruption - Sha1 Collision

后端 未结 4 1720
闹比i
闹比i 2020-12-08 14:58

Yesterday one of my team\'s checkins corrupted our github repo. On github, they were showing this error:

$ git fsck
error: sha1 mismatch 87859f196ec9266bada         


        
4条回答
  •  不知归路
    2020-12-08 15:30

    This happened to me recently on "git pull" from AWS Git server. The commands below fix the issue. thanks

    git prune git gc

提交回复
热议问题