You can do:
git revert abcd123
git revert --no-commit wxyz789
git commit --amend
… and then write an appropriate commit message describing the combined effect of reverting both commits.
You can do:
git revert abcd123
git revert --no-commit wxyz789
git commit --amend
… and then write an appropriate commit message describing the combined effect of reverting both commits.