Remova o último commit git sem perder mudanças

git reset HEAD~1 --soft   
Obnoxious Ox