I had to revert parts of an SVN commit (and didn't want to perform a long lasting git-checkout of the given repository). I found some nice information about the task in this blog post.