summaryrefslogtreecommitdiffstats
path: root/documentation/overview-manual/overview-manual-development-environment.xml
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2018-04-24 12:41:47 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-05-24 17:16:27 +0100
commiteecd73551836bd084d2ed9a29038007569a994c6 (patch)
treef626598c30018c4463b9a209a454a0147166405a /documentation/overview-manual/overview-manual-development-environment.xml
parentee848d0ebd1d1ee99cb5fff7d133b56caff43175 (diff)
downloadpoky-eecd73551836bd084d2ed9a29038007569a994c6.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/overview-manual/overview-manual-development-environment.xml')
-rw-r--r--documentation/overview-manual/overview-manual-development-environment.xml8
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.