From 33b507e9953a41b8025d676f2dc01e52d5cc4dd9 Mon Sep 17 00:00:00 2001 From: Kristi Rifenbark Date: Tue, 20 Jun 2017 17:44:33 -0700 Subject: dev-manual: Updated checkout by branch Example was incorrect. Fixed it. (From yocto-docs rev: 7ae1c636e7a8c0448515f339476327bcaf21e63c) Signed-off-by: Kristi Rifenbark Signed-off-by: Richard Purdie --- documentation/dev-manual/dev-manual-start.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'documentation/dev-manual/dev-manual-start.xml') diff --git a/documentation/dev-manual/dev-manual-start.xml b/documentation/dev-manual/dev-manual-start.xml index 5924f48f48..31567319d4 100644 --- a/documentation/dev-manual/dev-manual-start.xml +++ b/documentation/dev-manual/dev-manual-start.xml @@ -398,8 +398,9 @@ For example, to access the files for the Yocto Project 2.3 Release (Pyro), use the following command: - $ git checkout -b origin/pyro - Switched to a new branch 'origin/pyro' + $ git checkout -b pyro origin/pyro + Branch pyro set up to track remote branch pyro from origin. + Switched to a new branch 'pyro' The previous command checks out the "pyro" branch and reports that the branch is tracking the upstream @@ -412,7 +413,7 @@ $ git branch master - * origin/pyro + * pyro -- cgit v1.2.3-54-g00ecf