Checking out a branch?
I am a bit confused right now with the branches.
I got the tree using
git clone [email protected]: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?
Signature · 2 lines
Best Regards Ulf Samuelsson
Ulf Samuelsson skrev:
Quoted 20 lines
I am a bit confused right now with the branches.
I got the tree using
git clone [email protected]:openembeddedI 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
...
Quoted 3 lines
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!
Signature · 2 lines
Best Regards Ulf Samuelsson