git remove commit antes de push
# Removes latest commit from the stash, KEEPS changes
git reset --soft HEAD~
# Removes latest commit from the stash, DELETES changes
git reset --hard HEAD~
deshacer git commit después de push
git reset <hash> # Run this then merge, commit, and push
deshacer confirmar git antes de empujar
git reset HEAD~