You can take a diff that undoes the changes you want and commit that.
E.g. If you want to undo the changes in the range from..to
, do the following
git diff to..from > foo.diff # get a reverse diff
patch < foo.diff
git commit -a -m "Undid changes from..to".