From f679e515f3655de8ff5cef7dd453e61d67522a74 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 24 Apr 2018 12:41:47 -0700 Subject: overview-manual: Updated checkout example for Git based on a tag. (From yocto-docs rev: ee0021b0db85ced7a36b0f25e1c1e09a0f5b1894) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- .../overview-manual/overview-manual-development-environment.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'documentation/overview-manual') 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 @@ $ cd ~ $ git clone git://git.yoctoproject.org/poky $ cd poky - $ git fetch --all --tags --prune - $ git checkout tags/pyro-17.0.0 -b my-pyro-17.0.0 + $ git fetch --tags + $ git checkout tags/rocko-18.0.0 -b my_rocko-18.0.0 In this example, the name of the top-level directory of your local Yocto Project repository is poky. @@ -705,9 +705,9 @@ git fetch command makes all the upstream tags available locally in your repository. Finally, the git checkout command - creates and checks out a branch named "my-pyro-17.0.0" that is + creates and checks out a branch named "my-rocko-18.0.0" that is based on the upstream branch whose "HEAD" matches the - commit in the repository associated with the "pyro-17.0.0" tag. + commit in the repository associated with the "rocko-18.0.0" tag. The files in your repository now exactly match that particular Yocto Project release as it is tagged in the upstream Git repository. -- cgit v1.2.3-54-g00ecf