* Philippe Bruhat (BooK) <[email protected]> [2011-02-07 09:50]:
> > You probably want this instead:
> >
> >     git stash
> >     git reset --hard HEAD^
> >     git stash pop
> >
> > THIS is a git undo button.
>
>   --mixed
>       Resets the index but not the working tree (i.e., the
>       changed files are preserved but not marked for commit)
>       and reports what has not been updated. This is the
>       default action.

Yeah, but I *don't* want all changed files preserved. I want only
the changes preserved that were made *on top* of the commit, but
not any changes that came from the commit itself.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>

Reply via email to