[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: how to checkout current stable branch
- To: or-dev@xxxxxxxxxxxxx
- Subject: Re: how to checkout current stable branch
- From: Adam Langley <agl@xxxxxxxxxxxxxxxxxx>
- Date: Sat, 22 Jan 2011 12:03:08 -0500
- Cc: or-dev@xxxxxxxx
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: or-dev-outgoing@xxxxxxxx
- Delivered-to: or-dev@xxxxxxxx
- Delivery-date: Sat, 22 Jan 2011 12:09:51 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=7e1h2iYmWMGRZZqPabz4ZbrraYY3+IFzwxSJx3ieLhw=; b=vWa3fvrTBeLYouPyql7LO6/FXsgVrEJCRqoenKXjBzY4U0YdOdjJSA4zY4YH6A/wIb 0HLo2RUnvzcBnDpx/4NBLblq6jSVSdUvHY240kIxJPzbeVFIW6jCchCzRmOaHgVy1lFM EJ+IXDr3Np7XtrYGxxdzIBkmE4gP090huVuaM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=Zosnx+q11aJZaKaKtGiiMMbsG1DB4OjIvMF7myXC499ipoAvoxBiRJ7fTpMKJJ04jt 3tATIca8MZuDU+PsMv5yvDFDtc0iz/EkEF2EomZH2qdKcujAaE4m0le/QePZ/PTzGFTc VjfJWEIKU3Ku8jiT5dM8om9O3E3qwqfcFwQ6M=
- In-reply-to: <4D3B0C1E.2090100@xxxxxxxxxxxxxx>
- References: <4D3B0C1E.2090100@xxxxxxxxxxxxxx>
- Reply-to: or-dev@xxxxxxxxxxxxx
- Sender: owner-or-dev@xxxxxxxxxxxxx
On Sat, Jan 22, 2011 at 11:55 AM, Bernd Kreuss <prof7bit@xxxxxxxxxxxxxx> wrote:
> This is probably a stupid question but how do I checkout the 0.2.1
> branch from git? With svn I knew how to do such things but I don't get
> how this git thing is meant to be used.
>
> I have successfully checked out the master branch via git clone
> git://git.torproject.org/tor.git and can compile it but what is the URL
> for the 0.2.1 branch? I can't find any instructions about this.
% git branch -a
will list all the heads. I think that you want
% git checkout -b 0.2.1 remotes/origin/maint-0.2.1
That will create a new local branch pointing to
remotes/origin/maint-0.2.1 and switch to it.
AGL
--
Adam Langley agl@xxxxxxxxxxxxxxxxxx http://www.imperialviolet.org