how to uncommit the last commit in git code example Example: how to uncommit the last commit in git git reset --soft "HEAD^" git reset --soft "asdf"