From e29bae350776e0c91f92abeb9ee8418230fcf422 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Fri, 31 Aug 2018 09:12:44 -0700 Subject: dev-manual: Updates to "Cloning the poky Repository" Some re-wordings and also ran through the examples to produce updated output. (From yocto-docs rev: 306baeb24d2c6b45d09f44e8c8d5f55b9aef1b8d) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/dev-manual/dev-manual-start.xml | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) (limited to 'documentation') diff --git a/documentation/dev-manual/dev-manual-start.xml b/documentation/dev-manual/dev-manual-start.xml index 12694da89b..fff81941ef 100644 --- a/documentation/dev-manual/dev-manual-start.xml +++ b/documentation/dev-manual/dev-manual-start.xml @@ -933,21 +933,23 @@ Set Your Directory: - Be in the directory where you want to create your local - copy of poky. + Change your working directory to where you want to + create your local copy of + poky. Clone the Repository: - The following command clones the repository and uses + The following example command clones the + poky repository and uses the default name "poky" for your local repository: $ git clone git://git.yoctoproject.org/poky Cloning into 'poky'... - remote: Counting objects: 367178, done. - remote: Compressing objects: 100% (88161/88161), done. - remote: Total 367178 (delta 272761), reused 366942 (delta 272525) - Receiving objects: 100% (367178/367178), 133.26 MiB | 6.40 MiB/s, done. - Resolving deltas: 100% (272761/272761), done. + remote: Counting objects: 416542, done. + remote: Compressing objects: 100% (98611/98611), done. + remote: Total 416542 (delta 311104), reused 416377 (delta 310939) + Receiving objects: 100% (416542/416542), 150.39 MiB | 15.77 MiB/s, done. + Resolving deltas: 100% (311104/311104), done. Checking connectivity... done. Unless you specify a specific development branch or @@ -962,8 +964,8 @@ Checking Out By Tag in Poky" sections, respectively. - Once the repository is created, you can change to - that directory and check its status. + Once the local repository is created, you can + change to that directory and check its status. Here, the single "master" branch exists on your system and by default, it is checked out: @@ -978,6 +980,10 @@ Your local repository of poky is identical to the upstream poky repository at the time from which it was cloned. + As you work with the local branch, you can periodically + use the git pull ‐‐rebase + command to be sure you are up-to-date with the upstream + branch. -- cgit v1.2.3-54-g00ecf