I want to revert a particular commit in git. Unfortunately, our organization still uses CVS as a standard, so when I commit back to CVS multiple git commits are rolled into
Another alternative (if your current version of a file isn't too far from the version you're trying to revert) is to get the hash of the commit immediately before the one you wish to partially revert (from git log). Then your command becomes:
$ git checkout -p -- file/you/want/to/fix.ext
This does change the files in your working tree but creates no commits, so if you really stuff up you can just start again with git reset --hard -- file/you/want/to/fix.ext.