[oe] Checking out a branch?

Ulf Samuelsson ulf.samuelsson at atmel.com
Tue Aug 11 18:04:32 UTC 2009


Ulf Samuelsson skrev:
> I am a bit confused right now with the branches.
> 
> I got the tree using
> git clone git at 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





More information about the Openembedded-devel mailing list