Mesa uses git as its source code management system.
The master git repository is hosted on freedesktop.org.You may access the repository either as an anonymous user (read-only) or as a developer (read/write).
You may also browse the git repository.
To get the Mesa sources anonymously (read-only):
git clone git://anongit.freedesktop.org/git/mesa/mesa
git pull origin
Mesa developers need to first have an account on freedesktop.org. To get an account, please ask Brian or the other Mesa developers for permission. Then, if there are no objections, follow this procedure.
Once your account is established:
git clone git+ssh://username@git.freedesktop.org/git/mesa/mesaReplace username with your actual login name.
git pull origin
If you're using git on Windows you'll want to enable automatic CR/LF conversion in your local copy of the repository:
git config --global core.autocrlf true
This will cause git to convert all text files to CR+LF on checkout, and to LF on commit.
Unix users don't need to set this option.
At any given time, there may be several active branches in Mesa's repository. Generally, the trunk contains the latest development (unstable) code while a branch has the latest stable code.
The command git-branch
will list all available branches.
Questions about branch status/activity should be posted to the mesa3d-dev mailing list.