[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Fetching 2.6.37



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.