Difference between revisions of "Source Setup"
Bloodythorn (Talk | contribs) m (Updated git repository link as old one was no longer valid.) |
m (Remove subversion inclusion note (doesn't apply anymore)) |
||
Line 1: | Line 1: | ||
− | You can access the official ToME source code using Git. (Note: the official source repository was in Subversion until June 7, 2013 | + | You can access the official ToME source code using Git. (Note: the official source repository was in Subversion until June 7, 2013.) |
== Git == | == Git == |
Revision as of 22:21, 17 June 2017
You can access the official ToME source code using Git. (Note: the official source repository was in Subversion until June 7, 2013.)
Git
The Git repository is available at http://git.net-core.org/groups/tome read-only to everyone.
In Linux/Unix, after installing Git:
git clone http://git.net-core.org/tome/t-engine4.git
This will create a directory named t-engine4 inside the current working directory.
If you need a Git client for Windows, you can download TortoiseGit or SourceTree.
Git Basics
A local Git repository is a complete mirror of the "origin" repository. It includes every revision of every file, all the commit messages, and so on.
If you're only going to retrieve changes from DarkGod's repository, and never make any changes of your own, then you can get by with the following commands:
- Retrieve all new changes:
git fetch origin
- Review the changes before applying them:
git log -p HEAD...origin
- Apply the changes to your local working directory:
git merge origin
Git (Mirror)
The original Git repository is restored (updates every 10m) and is available from http://git.develz.org/.