documentation: dev-manual - Updated Git repo example

The new branch is named distro plus poky revision
(e.g. danny-8.0).  I had just the distro in there.

(From yocto-docs rev: 9490849f7f6dc815d1b676b15b3f38f671a49be8)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark 2012-10-01 12:32:20 -07:00 committed by Richard Purdie
parent e6ed2118fc
commit 13d147178a
1 changed files with 2 additions and 2 deletions

View File

@ -94,14 +94,14 @@
$ cd ~/poky
$ git fetch --tags
$ git checkout -b &DISTRO_NAME;-&POKYVERSION; origin/&DISTRO_NAME;
Switched to a new branch '&DISTRO_NAME;'
Switched to a new branch '&DISTRO_NAME;-&POKYVERSION;'
</literallayout>
The <filename>git fetch --tags</filename> is somewhat redundant since you just set
up the repository and should have all the tags.
The <filename>fetch</filename> command makes sure all the tags are available in your
local repository.
The Git <filename>checkout</filename> command with the <filename>-b</filename> option
creates a local branch for you named <filename>&DISTRO_NAME;</filename>.
creates a local branch for you named <filename>&DISTRO_NAME;-&POKYVERSION;</filename>.
Your local branch begins in the same state as the Yocto Project &DISTRO; released tarball
marked with the <filename>&DISTRO_NAME;-&POKYVERSION;</filename> tag in the source repositories.
</para>