Remova o Commit Remote Remotet
git reset HEAD^ # remove commit locally
git push origin +HEAD # force-push the new HEAD commit
Excited Echidna
git reset HEAD^ # remove commit locally
git push origin +HEAD # force-push the new HEAD commit
git reset HEAD^ --hard
git push <<remote>> -f
1
$git rebase -i HEAD~2