diff options
| author | Kristi Rifenbark <kristi.rifenbark@gmail.com> | 2017-06-20 17:44:33 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-22 09:16:45 +0100 |
| commit | 33b507e9953a41b8025d676f2dc01e52d5cc4dd9 (patch) | |
| tree | dd26b11482e4cbde94027016558a55df95e099a8 | |
| parent | d634fa2e9d95b3a637de1dfd70179bff58521499 (diff) | |
| download | poky-33b507e9953a41b8025d676f2dc01e52d5cc4dd9.tar.gz | |
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>
| -rw-r--r-- | 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 5924f48f48..31567319d4 100644 --- a/documentation/dev-manual/dev-manual-start.xml +++ b/documentation/dev-manual/dev-manual-start.xml | |||
| @@ -398,8 +398,9 @@ | |||
| 398 | For example, to access the files for the Yocto Project | 398 | For example, to access the files for the Yocto Project |
| 399 | 2.3 Release (Pyro), use the following command: | 399 | 2.3 Release (Pyro), use the following command: |
| 400 | <literallayout class='monospaced'> | 400 | <literallayout class='monospaced'> |
| 401 | $ git checkout -b origin/pyro | 401 | $ git checkout -b pyro origin/pyro |
| 402 | Switched to a new branch 'origin/pyro' | 402 | Branch pyro set up to track remote branch pyro from origin. |
| 403 | Switched to a new branch 'pyro' | ||
| 403 | </literallayout> | 404 | </literallayout> |
| 404 | The previous command checks out the "pyro" branch and | 405 | The previous command checks out the "pyro" branch and |
| 405 | reports that the branch is tracking the upstream | 406 | reports that the branch is tracking the upstream |
| @@ -412,7 +413,7 @@ | |||
| 412 | <literallayout class='monospaced'> | 413 | <literallayout class='monospaced'> |
| 413 | $ git branch | 414 | $ git branch |
| 414 | master | 415 | master |
| 415 | * origin/pyro | 416 | * pyro |
| 416 | </literallayout> | 417 | </literallayout> |
| 417 | </para></listitem> | 418 | </para></listitem> |
| 418 | </orderedlist> | 419 | </orderedlist> |
