<div class="gmail_quote">On Mon, Mar 21, 2011 at 8:02 PM, Stephen J. Turnbull <span dir="ltr"><<a href="mailto:stephen@xemacs.org">stephen@xemacs.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Speaking for myself, I rewrite my git history because it is *not*<br>
useful to me as is. Almost all of my git commits have a informational<br>
half-life measured in hours once they're off tip, because I commit<br>
with *every* save (I have an after-save-hook to do this), which I do<br>
"early and often". Effectively, I use git as an extension to XEmacs's<br>
undo/redo mechanism.<br></blockquote><div><br></div><div>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:</div>
<div><br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="https://github.com/bartman/git-wip">https://github.com/bartman/git-wip</a></div><div><br></div><div>I imagine something similar could be written for hg.</div>
</div><div><br></div>-- <br>Daniel Stutzbach<br>