I fixed the repo example so that the -b option is right after the
git checkout command and so that the "origin/" string is part of the
example.
(From yocto-docs rev:
ba7ed26cf308a69e1ec8cfb0072dd10742af4ac5)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
<literallayout class='monospaced'>
$ cd ~/poky
$ git fetch --tags
- $ git checkout &DISTRO_NAME;-&POKYVERSION; -b &DISTRO_NAME;
+ $ git checkout -b &DISTRO_NAME;-&POKYVERSION; origin/&DISTRO_NAME;
Switched to a new branch '&DISTRO_NAME;'
</literallayout>
The <filename>git fetch --tags</filename> is somewhat redundant since you just set