I'm missing a few important commits after my computer lost power in the middle of a "git svn dcommit" operation, and I'm unsure of how to get them back. "git log" doesn't show the commits, any ideas?
2 Answers
Git keeps track of everything you do to the repository in the reflog. You can use git reflog to view recent commits, and resurrect them from there.
I found a blog entry called git reflog: no commits left behind which describes what to do to recover these commits.