mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 09:32:17 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
0e989923f5
commit
e29bae3507
@@ -933,21 +933,23 @@
|
||||
<orderedlist>
|
||||
<listitem><para>
|
||||
<emphasis>Set Your Directory:</emphasis>
|
||||
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
|
||||
<filename>poky</filename>.
|
||||
</para></listitem>
|
||||
<listitem><para>
|
||||
<emphasis>Clone the Repository:</emphasis>
|
||||
The following command clones the repository and uses
|
||||
The following example command clones the
|
||||
<filename>poky</filename> repository and uses
|
||||
the default name "poky" for your local repository:
|
||||
<literallayout class='monospaced'>
|
||||
$ 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.
|
||||
</literallayout>
|
||||
Unless you specify a specific development branch or
|
||||
@@ -962,8 +964,8 @@
|
||||
<link linkend='checkout-out-by-tag-in-poky'>Checking Out By Tag in Poky</link>"
|
||||
sections, respectively.</para>
|
||||
|
||||
<para>Once the repository is created, you can change to
|
||||
that directory and check its status.
|
||||
<para>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:
|
||||
<literallayout class='monospaced'>
|
||||
@@ -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 <filename>git pull ‐‐rebase</filename>
|
||||
command to be sure you are up-to-date with the upstream
|
||||
branch.
|
||||
</para></listitem>
|
||||
</orderedlist>
|
||||
</para>
|
||||
|
||||
Reference in New Issue
Block a user