Difference between revisions of "Source Setup"
(Removed SVN part, if people *really* want to know they can check the history) |
ScienceBall (Talk | contribs) (→Git (Mirror): This no longer seems to be available. I'm not sure what to do with this section.) |
||
(5 intermediate revisions by 5 users not shown) | |||
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.) |
+ | |||
+ | The source is also available from the downloads page at [https://te4.org/download te4.org]. '''NOTE:''' this option is useful if you want the version without music | ||
== Git == | == Git == | ||
− | The Git repository is available at http://git.net-core.org/ | + | The Git repository is available at http://git.net-core.org/groups/tome read-only to everyone. |
In Linux/Unix, after installing Git: | In Linux/Unix, after installing Git: | ||
− | git clone http://git.net-core.org/ | + | git clone http://git.net-core.org/tome/t-engine4.git |
This will create a directory named '''t-engine4''' inside the current working directory. | This will create a directory named '''t-engine4''' inside the current working directory. | ||
− | If you need a Git client for Windows, you can download [https://code.google.com/p/tortoisegit/ TortoiseGit]. | + | If you need a Git client for Windows, you can download [https://code.google.com/p/tortoisegit/ TortoiseGit] or [http://www.sourcetreeapp.com/ SourceTree]. |
=== Git Basics === | === Git Basics === | ||
Line 25: | Line 27: | ||
git merge origin | git merge origin | ||
− | |||
== Git (Mirror) == | == Git (Mirror) == | ||
− | + | ||
− | The original Git repository | + | The original Git repository was restored (and was updating every 10m) and was available from http://git.develz.org/. This site is still up, but it now says "404 - No projects found". |
Latest revision as of 10:12, 20 May 2022
You can access the official ToME source code using Git. (Note: the official source repository was in Subversion until June 7, 2013.)
The source is also available from the downloads page at te4.org. NOTE: this option is useful if you want the version without music
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 was restored (and was updating every 10m) and was available from http://git.develz.org/. This site is still up, but it now says "404 - No projects found".