Undoes commits, keeps changes staged.
Group: Undo
git reset --soft HEAD~1
← All of Git Command Reference