HowToGetLatestStendhal: Difference between revisions
Content deleted Content added
imported>AntumDeluge →Anonymous CVS Access: Add deprecated note |
imported>AntumDeluge Add Git instructions |
||
Line 8:
All you have to do is goto the main stendhal page at http://arianne.sourceforge.net/?arianne_url=games/game_stendhal and click on the "Play" image.
=
== Anonymous Git Access ==
To download the latest Stendhal source code with read-only access use the following command from a terminal or command line:
<pre>
git clone git://git.code.sf.net/p/arianne/stendhal
</pre>
This will download the entire remote source code and create a local repository. To update the local repo at any time the <span style="color:red">git fetch</span>, <span style="color:red;">git merge</span>, or <span style="color:red;">git rebase</span> commands can be used. Each uses a different method for adding changes locally. It is advised to read up on the differences.
== Privileged Git Access ==
Sourceforge accounts with read/write privileges to the Arianne Git repositories can use their Sourceforge username and password to gain access via SSH:
<pre>
git clone ssh://username@git.code.sf.net/p/arianne/stendhal
or
git clone https://username@git.code.sf.net/p/arianne/stendhal
</pre>
You will be prompted for your SF password afterward. To commit changes use the <span style="color:red;">git commit</span> command and <span style="color:red;">git push</span> to push changes to the remote master repository. If the local repository is out of sync with remote it will be required to do a synchronization prior.
= About CVS =
CVS (Concurrent Versions System) is a tool used by many software developers to manage changes within their source code tree. CVS provides the means to store not only the current version of a piece of source code, but a record of all changes (and who made those changes) that have occurred to that source code. Use of CVS is particularly common on projects with multiple developers, since CVS ensures changes made by one developer are not accidentally removed when another developer posts their changes to the source tree.
| |||