[gnome-continuous-yocto/gnomeostree-3.28-rocko: 6417/8267] dev-manual: Updated checkout by branch



commit 33b507e9953a41b8025d676f2dc01e52d5cc4dd9
Author: Kristi Rifenbark <kristi rifenbark gmail com>
Date:   Tue Jun 20 17:44:33 2017 -0700

    dev-manual: Updated checkout by branch
    
    Example was incorrect. Fixed it.
    
    (From yocto-docs rev: 7ae1c636e7a8c0448515f339476327bcaf21e63c)
    
    Signed-off-by: Kristi Rifenbark <kristi rifenbark gmail com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 documentation/dev-manual/dev-manual-start.xml |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/documentation/dev-manual/dev-manual-start.xml b/documentation/dev-manual/dev-manual-start.xml
index 5924f48..3156731 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:
                     <literallayout class='monospaced'>
-     $ 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'
                     </literallayout>
                     The previous command checks out the "pyro" branch and
                     reports that the branch is tracking the upstream
@@ -412,7 +413,7 @@
                     <literallayout class='monospaced'>
      $ git branch
        master
-     * origin/pyro
+     * pyro
                     </literallayout>
                     </para></listitem>
             </orderedlist>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]