Como desfazer um compromisso enviado que foi empurrado e manter as mudanças locais
git reset <previous label or sha1>
Agreeable Ape
git reset <previous label or sha1>
git revert <oldest_commit_hash>..<latest_commit_hash>