Revert a commit.