mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
documentation/dev-manual/dev-manual-newbie.xml: Fixed branch example
The example in the "Repositories, Tags, and Branches" section that creates a local branch that tracks the upstream branch is incorrect. The syntax should be "git checkout -b &DISTRO_NAME; origin/&DISTRO_NAME; Fixed it. (From yocto-docs rev: ec80d43ad97370771c9cd7f7e6a4637db5f80e9b) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
0bb47e87a9
commit
88b3ff0951
@@ -527,7 +527,7 @@
|
||||
$ cd ~
|
||||
$ git clone git://git.yoctoproject.org/poky
|
||||
$ cd poky
|
||||
$ git checkout &DISTRO_NAME; -b &DISTRO_NAME;
|
||||
$ git checkout -b &DISTRO_NAME; origin/&DISTRO_NAME;
|
||||
</literallayout>
|
||||
In this example, the name of the top-level directory of your local Yocto Project
|
||||
Files Git repository is <filename>poky</filename>.
|
||||
|
||||
Reference in New Issue
Block a user