From: Lars Hjemli Date: Tue, 17 Apr 2007 15:55:32 GMT Subject: Re: git branch --switch? Message-ID: <8c5c35580704170855ke426d86vac6e9b3b67fea5ea@mail.gmail.com> In-Reply-To: <4624EAAA.6040000@gmail.com> On 4/17/07, Rene Herman wrote: > git clone -l -s -n local > git checkout -b v20 v2.6.20 > git branch a > git branch b > git branch c > > Step 1, 3, 4 and 5 of this are nearly instantaneous but 2 isn't I might have misunderstood your goal, but have you tried git clone -l -s -n local git branch a v2.6.20 git branch b a git branch c a Now a, b and c all point at v2.6.20, while HEAD points as master. -- larsh