Revert Multiple Commits with One Commit
By passing the
--no-commit option to
git revert, you can forgo multiple revert commits and consolidate into just one new commit.
git revert --no-commit [newer-commit #] git revert --no-commit [older-commit #] git commit -m "This one commit reverts two older commits"