Cancelar un compromiso no presionado
git reset --soft HEAD~
Average Joe
git reset --soft HEAD~
# delete the last commit
$git reset –hard HEAD~
git reset <previous label or sha1>
git commit -am "blabla"
git push -f <remote-name> <branch-name>