From: Rene Herman Date: Tue, 17 Apr 2007 16:55:07 GMT Subject: Re: git branch --switch? Message-ID: <4624FBEB.5080805@gmail.com> In-Reply-To: On 04/17/2007 06:44 PM, Linus Torvalds wrote: > So you could have avoided the checkout completely, and done > > git clone -l -s -n local > git branch v20 v2.6.20 > git branch a v20 > git branch b v20 > git branch c v20 > > and now you'd have four branches that all point to the v20 thing, and none > of them are actually checked out. And all of that would have been > instantaneous, even on an old machine (apart fromt he clone itself, of > course ;) Yes, this is exactly what I wanted, thank you. I'm only learning about "git branch" (as opposed to git checkout -b) now and it didn't in fact occur to me that I could specify that although I should've noticed in the manpage and certainly in Lars' reply from a few minutes back -- managed to go into that and still not have it click. Nothing left for me to desire... Rene.