3 The repository is accessed using git.
7 First, you install git using your favorite package manager. Then:
10 git clone git://git.xonotic.org/xonotic/xonotic.git
15 After that, you have a working checkout of the repository.
17 h3. Getting write access
19 A condition for write (push) access is that you agree that any code or data you push will be licensed under the General Public License, version 2, with or without the "or any later version" clause. In case the directory the changes apply to contains a LICENSE or COPYING file indicating another license, your pushed code has to be dual licensed appropriately. Subdirectories currently having a dual license:
20 * data/qcsrc/warpzonelib - dual licensed as "GPLv2 or later" or MIT license.
22 In case code you pushed was not written by you, it is your responsibility to ensure proper licensing.
24 To apply for write access, make an issue of type "Support" in the category "Repository" and attach your public SSH key to it.
26 To cleanly check out then, you would do:
29 git clone ssh://xonotic@git.xonotic.org/xonotic.git
34 If you already have a checkout, you would do:
37 git config remote.origin.url ssh://xonotic@git.xonotic.org/xonotic.git
41 After that, you can write to the reposiotry using the usual git commands (commit, push).
43 h3. Working with the helper script "all"
45 To make working with the repo a little easier there's a little helper script (it's called all, as mentioned in above clone commands). It supports the following commands:
51 This command updates all the xonotic repositories.
57 Lists the branches you are currrently on, in the respective repositories
63 Lists all the branches known for all the respective repositories
69 Pushes your changes.. The script will ask you what to push, etc..
78 TODO info for TortoiseGit