On Mon, Mar 21, 2011 at 8:02 PM, Stephen J. Turnbull <step...@xemacs.org>wrote:

> Speaking for myself, I rewrite my git history because it is *not*
> useful to me as is.  Almost all of my git commits have a informational
> half-life measured in hours once they're off tip, because I commit
> with *every* save (I have an after-save-hook to do this), which I do
> "early and often".  Effectively, I use git as an extension to XEmacs's
> undo/redo mechanism.
>

I, too, commit using git with every save (which I do early and often).  It's
saved my butt more than once.  Awhile ago I came across the following nice
tool that puts these intermediate commits in a side branch (that can later
be abandoned) so they never show up in the main history:

https://github.com/bartman/git-wip

I imagine something similar could be written for hg.

-- 
Daniel Stutzbach
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to