On Wed, Oct 5, 2011 at 4:00 PM, Andreas Krey <a.krey@xxxxxx> wrote: > Hmm. You mean forcing the user to make a new branch *earlier* than at > commit time is better? In my mind, we're trying to make new-workdir usable for non-advanced users. I think it's conceptually simplest to allow a branch to be checked out only once. FWIW, I use a modified copy of new-workdir w/this usage: git new-workdir <repo> <workdir> <ref> [<start>] Which allows me to create a new branch and workdir checked out to the new branch in one shot. It refuses to create the <workdir> if <ref> resolves to a checked-out branch. (If I want to start detached I can do so with <ref>^0, but I rarely if ever do that.) j. -- 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