threads / rfc / 22676

[RFC] git clone --checkout <branch>

Subject: [RFC] git clone --checkout <branch>

## tl;dr

3 messages between Feb 16, 2010 and Feb 16, 2010.

replies: 2people: 2as markdown or json

Tay Ray Chuan· Feb 16, 2010, 10:48 UTC · lore
Hi,

what do you guys think about allowing users to specify the branch to checkout when cloning, instead of the default HEAD of the to-be-cloned repository?

-- 
Cheers,
Ray Chuan
Jeff King· Feb 16, 2010, 11:07 UTC · re: Tay Ray Chuan · lore

Re: [RFC] git clone --checkout <branch>

On Tue, Feb 16, 2010 at 06:48:42PM +0800, Tay Ray Chuan wrote:
> what do you guys think about allowing users to specify the branch to
> checkout when cloning, instead of the default HEAD of the to-be-cloned
> repository?

I think it's a great idea, but that we should call it "--branch" and that I should travel back in time to implement it last September as 7a4ee28.

-Peff
Tay Ray Chuan· Feb 16, 2010, 11:12 UTC · re: Jeff King · lore

Re: [RFC] git clone --checkout <branch>

Hi,
On Tue, Feb 16, 2010 at 7:07 PM, Jeff King <peff@peff.net> wrote:
Show 9 quoted lines
> On Tue, Feb 16, 2010 at 06:48:42PM +0800, Tay Ray Chuan wrote:
>
>> what do you guys think about allowing users to specify the branch to
>> checkout when cloning, instead of the default HEAD of the to-be-cloned
>> repository?
>
> I think it's a great idea, but that we should call it "--branch" and
> that I should travel back in time to implement it last September as
> 7a4ee28.
ah, yet another RTFM, my bad. :)
-- 
Cheers,
Ray Chuan

← back to recent threads