como desfazer um monte de commit enviado que foi empurrado

git revert <oldest_commit_hash>..<latest_commit_hash>
Agreeable Ape