I miss some important commits after my computer lost power in the middle of a git svn dcommit operation, and I'm not sure how to get them back. "git log" doesn't show commits, any ideas?
Git tracks everything you do in the repository, in the reflog . You can use git reflog to view the latest commits and resurrect them from there.
git reflog
I found a blog entry called Git reflog: there are no commits left that describes what to do to restore these commits.
It is a good idea to make "git log" and / or "git branch -v" before doing anything that can change branches, for example "git svn dcommit". You can always scroll the console and copy / paste commit identifiers in case of confusion.