documentation/dev-manual/dev-manual-kernel-appendix.xml: branch info added
The example now uses an edison branch of the poky-extras repo. Now that that is necessary, there needs to be explanation in the example on setting that branch up after creating the local repository. (From yocto-docs rev: 70599a07a6efb0ae2da04baa43b5bb99c9ec4e5d) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
ddb5143d9d
commit
4234beb034
|
@ -172,6 +172,27 @@
|
||||||
<filename>poky-extras</filename> Git Repository</link>"
|
<filename>poky-extras</filename> Git Repository</link>"
|
||||||
for information on how to get the <filename>poky-extras</filename> repository.
|
for information on how to get the <filename>poky-extras</filename> repository.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
Once you have the repository set up,
|
||||||
|
you have many development branches from which you can work.
|
||||||
|
From inside the repository you can see the branch names and the tag names used
|
||||||
|
in the Git repository using either of the following two commands:
|
||||||
|
<literallayout class='monospaced'>
|
||||||
|
$ cd poky
|
||||||
|
$ git branch -a
|
||||||
|
$ git tag -l
|
||||||
|
</literallayout>
|
||||||
|
This example uses the Yocto Project 1.1.1 Release code named "edison",
|
||||||
|
which maps to the <filename>edison</filename> branch in the repository.
|
||||||
|
The following commands create and checkout the local <filename>edison</filename>
|
||||||
|
branch:
|
||||||
|
<literallayout class='monospaced'>
|
||||||
|
$ git checkout -b edison origin/edison
|
||||||
|
Branch edison set up to track remote branch edison from origin.
|
||||||
|
Switched to a new branch 'edison'
|
||||||
|
</literallayout>
|
||||||
|
</para>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section id='setting-up-the-bare-clone-and-its-copy'>
|
<section id='setting-up-the-bare-clone-and-its-copy'>
|
||||||
|
|
Loading…
Reference in New Issue