MG/Getting The Code

From MegaGlest
Revision as of 01:21, 13 December 2013 by 209.52.70.192 (talk) (→‎SVN)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

NOTE: Due to problems converting to Git, MegaGlest is still using SVN.

GIT

If you chose a git CLI then run the following command to retrieve the latest source code:

git clone https://github.com/MegaGlest/megaglest-source.git .
cd megaglest-source
git submodule update --init --recursive

This will download to the current active folder, so be sure to first navigate to the folder you want to download the GIT project into.

Project folder layout

Folder structure.png

Tags and branches

This will check out the trunk directory, which is where active development takes place in. Each release is 'tagged' and a copy resides in the tags directory, so if you wanted an older release you would check out something below instead. Check here to see which ones are available.

Branches are created in the branches subdirectory when required to seperate larger changes from active / stable development, so replace 'trunk' by 'branches' and check with your web brower which ones are available if this is your intention.

See also