How do you restore a corrupted object in a git repository (for newbies)?
问题 I tried to open my repository today and it came up with no commit history. Everything I tried (git status, git log, git checkout...) threw an error about a corrupt object. I researched this problem online and found the article by Linus Torvalds, but got lost at the point where he found the broken link ID: none of my file IDs, tree or blob, match the culprit ID thrown by the error message. I then returned to the article on recovering "git objects damaged by hard disk failure" and (after moving