From 88b3ff09512492ff7fb2f8e7571886d1b6b48126 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Wed, 25 Apr 2012 10:23:29 -0600 Subject: 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 Signed-off-by: Richard Purdie --- documentation/dev-manual/dev-manual-newbie.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'documentation/dev-manual/dev-manual-newbie.xml') diff --git a/documentation/dev-manual/dev-manual-newbie.xml b/documentation/dev-manual/dev-manual-newbie.xml index a8a5e64c22..7dfedd93b0 100644 --- a/documentation/dev-manual/dev-manual-newbie.xml +++ b/documentation/dev-manual/dev-manual-newbie.xml @@ -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; In this example, the name of the top-level directory of your local Yocto Project Files Git repository is poky. -- cgit v1.2.3-54-g00ecf