"Stephen J. Turnbull" <stephen(a)xemacs.org> writes:
Michael Sperber writes:
> > 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.)
Fixing a typo or something in the last (unpublished commit) commit (so
you don't care if the ID changes, there are no references to it.
For this, I use "hg rollback". (All the time.)
Forgetting a series of commits and mashing the whole thing into one
commit (I do this *a lot* because I forget to commit the ChangeLog).
http://www.selenic.com/mercurial/wiki/index.cgi/ConcatenatingChangesets
--
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