All of lore.kernel.org
 help / color / mirror / Atom feed
* Checking out a branch?
@ 2009-08-11 15:22 Ulf Samuelsson
  2009-08-11 18:04 ` Ulf Samuelsson
  0 siblings, 1 reply; 2+ messages in thread
From: Ulf Samuelsson @ 2009-08-11 15:22 UTC (permalink / raw)
  To: openembedded-devel

I am a bit confused right now with the branches.

I got the tree using
git clone git@git.openembedded.org:openembedded

I then want to create a local branch using
"git checkout -b local origin/remote"

"git branch -a" tells me there is

* org.openembedded.dev
  origin/HEAD
  ...
  origin/org.openembedded.angstrom-2007.12-stable
  origin/org.openembedded.dev
  origin/org.openembedded.documentation
  origin/org.openembedded.stable
  origin/origin/org.openembedded.dev
  ...

which one should I use?




-- 
Best Regards
Ulf Samuelsson




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

* Re: Checking out a branch?
  2009-08-11 15:22 Checking out a branch? Ulf Samuelsson
@ 2009-08-11 18:04 ` Ulf Samuelsson
  0 siblings, 0 replies; 2+ messages in thread
From: Ulf Samuelsson @ 2009-08-11 18:04 UTC (permalink / raw)
  To: openembedded-devel

Ulf Samuelsson skrev:
> I am a bit confused right now with the branches.
> 
> I got the tree using
> git clone git@git.openembedded.org:openembedded
> 
> I then want to create a local branch using
> "git checkout -b local origin/remote"
> 
> "git branch -a" tells me there is
> 
> * org.openembedded.dev
>   origin/HEAD
>   ...
>   origin/org.openembedded.angstrom-2007.12-stable
>   origin/org.openembedded.dev
>   origin/org.openembedded.documentation
>   origin/org.openembedded.stable
>   origin/origin/org.openembedded.dev
>   ...
> 
> which one should I use?
> 
> 

I found the explanation in the GitPhraseBook somewhat lacking
so I added a new, more complete example
"Example 3: Working with a private branch"

Feel free to comment!

-- 
Best Regards
Ulf Samuelsson




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

end of thread, other threads:[~2009-08-11 18:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-11 15:22 Checking out a branch? Ulf Samuelsson
2009-08-11 18:04 ` Ulf Samuelsson

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.