Checkout

Version 7 (Matthew Iselin, 12/12/2010 11:28 pm)

1 1
h1. Checkout
2 1
3 1
h2. Public Checkout
4 1
5 1
To do a public checkout of the kernel, use the following:
6 1
<pre>
7 4 Rich Edelman
git clone git://pedigree-project.org/pedigree.git pedigree
8 1
</pre>
9 1
10 5 Matthew Iselin
Once this completes, run:
11 5 Matthew Iselin
<pre>
12 5 Matthew Iselin
git submodule update --init
13 5 Matthew Iselin
</pre>
14 1
15 5 Matthew Iselin
The tree is now checked out.
16 5 Matthew Iselin
17 5 Matthew Iselin
18 1
h2. Developer Checkout
19 1
20 6 Matthew Iselin
This checkout is for developers on the Pedigree team, who have been given appropriate access to the repository via SSH. If you don't know why you need this, you probably want the public checkout.
21 6 Matthew Iselin
22 1
To checkout a working copy of pedigree, use:
23 1
<pre>
24 3 Rich Edelman
git clone ssh://<username>@pedigree-project.org/git/pedigree.git pedigree
25 3 Rich Edelman
</pre>
26 5 Matthew Iselin
27 5 Matthew Iselin
Once this completes, run:
28 5 Matthew Iselin
<pre>
29 5 Matthew Iselin
git submodule update --init
30 5 Matthew Iselin
</pre>
31 5 Matthew Iselin
32 5 Matthew Iselin
The tree is now checked out.
33 7 Matthew Iselin
34 7 Matthew Iselin
h2. Branch Selection
35 7 Matthew Iselin
36 7 Matthew Iselin
After the first clone you will be sitting on the 'master' branch, which is essentially our 'stable' branch. If you want to work on something a bit more up-to-date, checkout the 'develop' branch:
37 7 Matthew Iselin
<pre>
38 7 Matthew Iselin
git checkout develop
39 7 Matthew Iselin
</pre>
40 7 Matthew Iselin
41 7 Matthew Iselin
Alternatively, if you want to work on a specific release, check out the tag:
42 7 Matthew Iselin
<pre>
43 7 Matthew Iselin
git checkout foster-0.1
44 7 Matthew Iselin
or
45 7 Matthew Iselin
git checkout foster-ms1-0.1.1
46 7 Matthew Iselin
</pre>
47 7 Matthew Iselin
48 7 Matthew Iselin
Note the versioning is <release-name>-<Pedigree version>.