como deletar o ultimo commit

git reset --hard HEAD~1
Lazy Leopard