diff options
author | Scott Rifenbark <srifenbark@gmail.com> | 2018-08-31 09:12:44 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-09-11 09:36:07 +0100 |
commit | e29bae350776e0c91f92abeb9ee8418230fcf422 (patch) | |
tree | ca7aae4c874f26da77c324ccc7e84c1c4c4d8ce6 /documentation/dev-manual | |
parent | 0e989923f55fccede968dcb74626301e34a72405 (diff) | |
download | poky-e29bae350776e0c91f92abeb9ee8418230fcf422.tar.gz |
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 <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/dev-manual')
-rw-r--r-- | documentation/dev-manual/dev-manual-start.xml | 26 |
1 files changed, 16 insertions, 10 deletions
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 @@ | |||
933 | <orderedlist> | 933 | <orderedlist> |
934 | <listitem><para> | 934 | <listitem><para> |
935 | <emphasis>Set Your Directory:</emphasis> | 935 | <emphasis>Set Your Directory:</emphasis> |
936 | Be in the directory where you want to create your local | 936 | Change your working directory to where you want to |
937 | copy of poky. | 937 | create your local copy of |
938 | <filename>poky</filename>. | ||
938 | </para></listitem> | 939 | </para></listitem> |
939 | <listitem><para> | 940 | <listitem><para> |
940 | <emphasis>Clone the Repository:</emphasis> | 941 | <emphasis>Clone the Repository:</emphasis> |
941 | The following command clones the repository and uses | 942 | The following example command clones the |
943 | <filename>poky</filename> repository and uses | ||
942 | the default name "poky" for your local repository: | 944 | the default name "poky" for your local repository: |
943 | <literallayout class='monospaced'> | 945 | <literallayout class='monospaced'> |
944 | $ git clone git://git.yoctoproject.org/poky | 946 | $ git clone git://git.yoctoproject.org/poky |
945 | Cloning into 'poky'... | 947 | Cloning into 'poky'... |
946 | remote: Counting objects: 367178, done. | 948 | remote: Counting objects: 416542, done. |
947 | remote: Compressing objects: 100% (88161/88161), done. | 949 | remote: Compressing objects: 100% (98611/98611), done. |
948 | remote: Total 367178 (delta 272761), reused 366942 (delta 272525) | 950 | remote: Total 416542 (delta 311104), reused 416377 (delta 310939) |
949 | Receiving objects: 100% (367178/367178), 133.26 MiB | 6.40 MiB/s, done. | 951 | Receiving objects: 100% (416542/416542), 150.39 MiB | 15.77 MiB/s, done. |
950 | Resolving deltas: 100% (272761/272761), done. | 952 | Resolving deltas: 100% (311104/311104), done. |
951 | Checking connectivity... done. | 953 | Checking connectivity... done. |
952 | </literallayout> | 954 | </literallayout> |
953 | Unless you specify a specific development branch or | 955 | Unless you specify a specific development branch or |
@@ -962,8 +964,8 @@ | |||
962 | <link linkend='checkout-out-by-tag-in-poky'>Checking Out By Tag in Poky</link>" | 964 | <link linkend='checkout-out-by-tag-in-poky'>Checking Out By Tag in Poky</link>" |
963 | sections, respectively.</para> | 965 | sections, respectively.</para> |
964 | 966 | ||
965 | <para>Once the repository is created, you can change to | 967 | <para>Once the local repository is created, you can |
966 | that directory and check its status. | 968 | change to that directory and check its status. |
967 | Here, the single "master" branch exists on your system | 969 | Here, the single "master" branch exists on your system |
968 | and by default, it is checked out: | 970 | and by default, it is checked out: |
969 | <literallayout class='monospaced'> | 971 | <literallayout class='monospaced'> |
@@ -978,6 +980,10 @@ | |||
978 | Your local repository of poky is identical to the | 980 | Your local repository of poky is identical to the |
979 | upstream poky repository at the time from which it was | 981 | upstream poky repository at the time from which it was |
980 | cloned. | 982 | cloned. |
983 | As you work with the local branch, you can periodically | ||
984 | use the <filename>git pull ‐‐rebase</filename> | ||
985 | command to be sure you are up-to-date with the upstream | ||
986 | branch. | ||
981 | </para></listitem> | 987 | </para></listitem> |
982 | </orderedlist> | 988 | </orderedlist> |
983 | </para> | 989 | </para> |