Abhijit Menon-Sen <ams@xxxxxxxxxx> writes: > At 2008-07-02 12:01:35 -0700, gitster@xxxxxxxxx wrote: >> >> But that imaginary "stash branch" command would always give you >> the exact state you were in and creates a clean fork to finish >> what you were doing, and continue. > > Nice idea. Something as simple as the appended diff? > > I reversed the stash/branch arguments so that one need specify only the > branch name. Playing with it a little, it feels very useful. I'd further suggest to delete the stash automatically when you create a new branch out of it. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html