"Stephen J. Turnbull" <stephen(a)xemacs.org> writes:
Michael Sperber writes:
> Does "git reset" just preserve the changes (i.e. re-apply the
> uncommitted diff on top of the revision specified), or keep the
> entire "working copy"?
git reset leaves the working copy alone. No patches applied or
reversed, just an in-memory operation on the index, and a change of
HEAD.
What's a situation where you'd want that? (I'm not doubting it exists,
just wondering.)
Once again this is an unfortunate UI. The working copy is changed
if
you specify the --hard flag.
OK - so I think "hg update" (without -C) is the counterpart to "git
reset --hard".
--
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta