Hapus komitmen terakhir tanpa kehilangan perubahan

git reset HEAD~1 --soft   
Obnoxious Ox