It's simple: each commit marks a place at which all unit tests pass.  So 
each commit is a rollback point in case things go wrong. Given the 
complexity of the present cleanup effort, this is essential.

This just happened: I was a bit too eager to change the coffeescript 
importer. After giving up on fixing the problem *easily*, I rolled back by 
copying some code in leoPlugins.leo (much easier than recovering from a git 
stash) and then killed the old code by doing `git stash`.

When *everything* is working with the coffeescript importer, I'll do `git 
stash clear` to kill the bad code permanently.

In short,git allows me to experiment freely, with virtually no worry.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to