3 <TITLE>Code Repository
</TITLE>
5 <link rel=
"stylesheet" type=
"text/css" href=
"mesa.css"></head>
9 <h1>Code Repository
</h1>
12 Mesa uses
<a href=
"http://git.or.cz/"target=
"_parent">git
</a>
13 as its source code management system.
16 The master git repository is hosted on
17 <a href=
"http://www.freedesktop.org" target=
"_parent">freedesktop.org
</a>.
21 You may access the repository either as an
22 <a href=
"#anonymous">anonymous user
</a> (read-only) or as a
23 <a href=
"#developer">developer
</a>
29 <a href=
"http://gitweb.freedesktop.org/?p=mesa/mesa.git"
30 target=
"_parent">browse the git repository
</a>.
35 <H2>Anonymous git Access
</H2>
38 To get the Mesa sources anonymously (read-only):
42 <li>Install the git software on your computer if needed.
<br><br>
43 <li>Get an initial, local copy of the repository with:
45 git clone git://anongit.freedesktop.org/git/mesa/mesa
47 <li>Later, you can update your tree from the master repository with:
55 <H2>Developer git Access
</H2>
58 Mesa developers need to first have an account on
59 <a href=
"http://www.freedesktop.org" target=
"_parent">freedesktop.org
</a>.
60 To get an account, please ask Brian or the other Mesa developers for
62 Then, if there are no objections, follow this
63 <a href=
"http://www.freedesktop.org/wiki/AccountRequests" target=
"_parent">
68 Once your account is established:
72 <li>Install the git software on your computer if needed.
<br><br>
73 <li>Get an initial, local copy of the repository with:
75 git clone git+ssh://username@git.freedesktop.org/git/mesa/mesa
77 Replace
<em>username
</em> with your actual login name.
<br><br>
78 <li>Later, you can update your tree from the master repository with:
85 <H2>Windows Users
</H2>
88 If you're
<a href=
"http://git.or.cz/gitwiki/WindowsInstall" target=
"_parent">
89 using git on Windows
</a> you'll want to enable automatic CR/LF conversion in
90 your local copy of the repository:
93 git config --global core.autocrlf true
97 This will cause git to convert all text files to CR+LF on checkout,
101 Unix users don't need to set this option.
107 <H2>Development Branches
</H2>
110 At any given time, there may be several active branches in Mesa's
112 Generally, the trunk contains the latest development (unstable)
113 code while a branch has the latest stable code.
117 The command
<code>git-branch
</code> will list all available branches.
121 Questions about branch status/activity should be posted to the
122 mesa3d-dev mailing list.