Undo last commit keep changes git

Move HEAD back one commit; staged changes return to working tree

git reset HEAD~1