git revert --no-commit HEAD~3.. git commit -m "your message regarding reverting the multiple commits"
$ git revert --no-commit D $ git revert --no-commit C $ git revert --no-commit B $ git commit -m "the commit message"