From: Junio C Hamano Date: Mon, 12 Oct 2009 22:49:27 GMT Subject: Re: [PATCH/RFC] builtin-checkout: suggest creating local branch when appropriate to do so Message-ID: <7vr5t89qiw.fsf@alter.siamese.dyndns.org> In-Reply-To: <200910122340.13366.trast@student.ethz.ch> Thomas Rast writes: > Your idea is also a backwards incompatible change, so we can just as > well implement the original suggestion and force scripts (or us) to > use some other means when they want to detach. Say, why not just > invent an option along the lines of > > git checkout {-d|--detach} $ref > > to make it explicit. Or can't you go the other way, say git checkout -t $remote_tracking to create a local branch forking from the named remote tracking branch?