Cancelar un compromiso no presionado
git reset --soft HEAD~
Average Joe
git reset --soft HEAD~
# delete the last commit
$git reset –hard HEAD~