On Sat, 8 Jul 2017 23:09:57 -0700 (PDT)
"Edward K. Ream" <[email protected]> wrote:

> Here's a common scenario.
> 
> 1. I think a task is going to be easy, so I begin work on it in
> master.
> 
> 2. Oops. The task isn't so easy. I better switch to a new branch.
> 
> 3. No problem, right? Just do git stash, create the branch, and do a
> git stash pop.

I wouldn't use stash in that case.  For me step three would be

git checkout -b harder_than_i_thought
git commit -a

`checkout -b` switches to a new branch, without impacting working tree
files.

Cheers -Terry

> *Danger*: *stashing goes back in time in master*. All of Leo's caches
> must be completely cleared!
> 
> I recommend deleting everything in .leo/db. Not doing this was very
> likely the cause of the bleeds of other branches into master.  Do you
> see?
> 
> 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 [email protected].
To post to this group, send email to [email protected].
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