ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] How to clone 1.12 branch source code

From: Richard Sharpe <realrichardsharpe@xxxxxxxxx>
Date: Sun, 15 Jun 2014 07:51:36 -0700
On Sun, Jun 15, 2014 at 4:31 AM, wsgd <wsgd@xxxxxxx> wrote:
> Le 15/06/2014 12:20, Pascal Quantin a écrit :
>
>
> Le 15 juin 2014 12:16, "wsgd" <wsgd@xxxxxxx> a écrit :
>>
>> Hello,
>>
>> I'm want to get (clone) 1.12 branch source code.
>>
>> I have cloned https://code.wireshark.org/review/wireshark (as specified
>> into
>> http://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html#_install_and_prepare_sources).
>>
>> I get source code for a version 1.99.
>> Is it normal ?
>> Which repository should be cloned to have 1.12 branch source code ?
>>
>>
>> Thanks,
>> Olivier
>>
>
> Hi Olivier,
>
> You can checkout master-1.12 branch in your fresh clone with the following
> command:
> git checkout origin/master-1.12 -b master-1.12
>
> Regards,
> Pascal.
>
>
> It works.
> Thanks.
>
> Must be possible to clone directly the good branch, no ?

Why would you want to do that when you can clone the whole thing and
then just check out what you want?

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)