WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Fetching 2.6.37

To: "Phil Winterfield (winterfi)" <winterfi@xxxxxxxxx>
Subject: Re: [Xen-devel] Fetching 2.6.37
From: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Date: Thu, 13 Jan 2011 08:15:13 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 13 Jan 2011 00:15:47 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <38AD81989214D54EB5F20C69477AF6C10D5FB3EB@xxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Citrix Systems, Inc.
References: <38AD81989214D54EB5F20C69477AF6C10D5FB3EB@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, 2011-01-13 at 01:06 +0000, Phil Winterfield (winterfi) wrote:
> What is the correct git command syntax to fetch the xen/next-2.6.37
> branch?

If you have a clone of a git tree then you will have been initially
setup with a local branch tracking the remote default branch (which in
the case of xen.git is presumably xen/stable-2.6.32.x).

If you want to create or checkout a local branch you can use "git
branch" and "git checkout" respectively. As a shortcut you can do the
initial create+checkout in one step with:
        git checkout -b <local-branch-name> --track xen/next-2.6.37

(or maybe origin/xen/next-2.6.37 -- use "git branch -r" to list remote
branches and pick the correct one)

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>