diff options
author | Scott Rifenbark <srifenbark@gmail.com> | 2018-04-24 12:41:47 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-05-24 17:17:58 +0100 |
commit | f679e515f3655de8ff5cef7dd453e61d67522a74 (patch) | |
tree | 91c2e7300a870007e83ddf99bb60fd7697610076 /documentation | |
parent | 3a4c4c9deb19844c47d8692bf3a03c85cc6559ba (diff) | |
download | poky-f679e515f3655de8ff5cef7dd453e61d67522a74.tar.gz |
overview-manual: Updated checkout example for Git based on a tag.
(From yocto-docs rev: ee0021b0db85ced7a36b0f25e1c1e09a0f5b1894)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/overview-manual/overview-manual-development-environment.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/documentation/overview-manual/overview-manual-development-environment.xml b/documentation/overview-manual/overview-manual-development-environment.xml index b27d41709e..a1d1e1df2d 100644 --- a/documentation/overview-manual/overview-manual-development-environment.xml +++ b/documentation/overview-manual/overview-manual-development-environment.xml | |||
@@ -696,8 +696,8 @@ | |||
696 | $ cd ~ | 696 | $ cd ~ |
697 | $ git clone git://git.yoctoproject.org/poky | 697 | $ git clone git://git.yoctoproject.org/poky |
698 | $ cd poky | 698 | $ cd poky |
699 | $ git fetch --all --tags --prune | 699 | $ git fetch --tags |
700 | $ git checkout tags/pyro-17.0.0 -b my-pyro-17.0.0 | 700 | $ git checkout tags/rocko-18.0.0 -b my_rocko-18.0.0 |
701 | </literallayout> | 701 | </literallayout> |
702 | In this example, the name of the top-level directory of your | 702 | In this example, the name of the top-level directory of your |
703 | local Yocto Project repository is <filename>poky</filename>. | 703 | local Yocto Project repository is <filename>poky</filename>. |
@@ -705,9 +705,9 @@ | |||
705 | <filename>git fetch</filename> command makes all the upstream | 705 | <filename>git fetch</filename> command makes all the upstream |
706 | tags available locally in your repository. | 706 | tags available locally in your repository. |
707 | Finally, the <filename>git checkout</filename> command | 707 | Finally, the <filename>git checkout</filename> command |
708 | creates and checks out a branch named "my-pyro-17.0.0" that is | 708 | creates and checks out a branch named "my-rocko-18.0.0" that is |
709 | based on the upstream branch whose "HEAD" matches the | 709 | based on the upstream branch whose "HEAD" matches the |
710 | commit in the repository associated with the "pyro-17.0.0" tag. | 710 | commit in the repository associated with the "rocko-18.0.0" tag. |
711 | The files in your repository now exactly match that particular | 711 | The files in your repository now exactly match that particular |
712 | Yocto Project release as it is tagged in the upstream Git | 712 | Yocto Project release as it is tagged in the upstream Git |
713 | repository. | 713 | repository. |