From: Sverre Rabbelier Date: Mon, 05 Oct 2009 21:26:39 GMT Subject: Re: [PATCH/RFC] builtin-checkout: suggest creating local branch when appropriate to do so Message-ID: In-Reply-To: Heya, On Mon, Oct 5, 2009 at 23:17, Johannes Schindelin wrote: > Actually, we should really think long and hard why we should not > automatically check out the local branch "next" in that case.  I mean, > really long and hard, and making sure to take user-friendliness into > account at least as much as simplicity of implementation. If git was a little more interactive I'd say prompt the user, problem solved? $ git checkout next No such branch 'next', do you want to check out a local branch for 'origin/next' instead? [Y/n] @jay: you assume that if there is more than one matching remote the user is experienced (as they have multiple remotes) enough to know what to do? -- Cheers, Sverre Rabbelier