# [RFC] git clone --checkout <branch>

3 messages from 2010-02-16 to 2010-02-16. Participants: Tay Ray Chuan, Jeff King.
Thread: https://gitlist.dev/t/22676

## Tay Ray Chuan, 2010-02-16 10:48

Subject: [RFC] git clone --checkout <branch>
Message-ID: <be6fef0d1002160248h7410d4edu6e3ed1fd27c40059@mail.gmail.com>
URL: https://gitlist.dev/e/be6fef0d1002160248h7410d4edu6e3ed1fd27c40059%40mail.gmail.com

```
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, 2010-02-16 11:07

Subject: Re: [RFC] git clone --checkout <branch>
Message-ID: <20100216110724.GA25173@coredump.intra.peff.net>
URL: https://gitlist.dev/e/20100216110724.GA25173%40coredump.intra.peff.net
In-Reply-To: <be6fef0d1002160248h7410d4edu6e3ed1fd27c40059@mail.gmail.com>

```
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, 2010-02-16 11:12

Subject: Re: [RFC] git clone --checkout <branch>
Message-ID: <be6fef0d1002160312w82c7f33t42e383b0756e4fae@mail.gmail.com>
URL: https://gitlist.dev/e/be6fef0d1002160312w82c7f33t42e383b0756e4fae%40mail.gmail.com
In-Reply-To: <20100216110724.GA25173@coredump.intra.peff.net>

```
Hi,

On Tue, Feb 16, 2010 at 7:07 PM, Jeff King <peff@peff.net> wrote:
> 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

```
