All of lore.kernel.org
 help / color / mirror / Atom feed
* Fetching 2.6.37
@ 2011-01-13  1:06 Phil Winterfield (winterfi)
  2011-01-13  8:15 ` Ian Campbell
  0 siblings, 1 reply; 2+ messages in thread
From: Phil Winterfield (winterfi) @ 2011-01-13  1:06 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 80 bytes --]

What is the correct git command syntax to fetch the xen/next-2.6.37
branch?


[-- Attachment #1.2: Type: text/html, Size: 1771 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Fetching 2.6.37
  2011-01-13  1:06 Fetching 2.6.37 Phil Winterfield (winterfi)
@ 2011-01-13  8:15 ` Ian Campbell
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Campbell @ 2011-01-13  8:15 UTC (permalink / raw)
  To: Phil Winterfield (winterfi); +Cc: xen-devel

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-13  8:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-13  1:06 Fetching 2.6.37 Phil Winterfield (winterfi)
2011-01-13  8:15 ` Ian Campbell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.