Annuler un commit non poussé
git reset --soft HEAD~
Average Joe
git reset --soft HEAD~
# delete the last commit
$git reset –hard HEAD~