News:

Simutrans.com Portal
Our Simutrans site. You can find everything about Simutrans from here.

Simutrans-EXP and GIT

Started by wernieman, November 08, 2010, 09:47:27 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

wernieman

Hey,

I try GIT, put I get some Problems ...
(It is a Linux-Machine, and for the nightlys, I must use Command-Line-Tools)

When I "clone" the git, get I the actually sources?
git clone http://github.com/jamespetts/simutrans-experimental.git

I can compile the source-code, I get with the git command line Tool, but I don´t know, if it is the newest source code.

Can somebody help?

Greeting,
Werner

(With SVN from simutrans-standard I don´t have the Problem ;o) )

inkelyad

#1
You know, Github have very good help.

After 'git clone' you will get not just source. You will get full copy of repository.
Current development branch is not 'master' now, it is '9.x'. So
do 'git checkout 9.x'

If you don't do you own development, then do 'git fetch;git merge origin/9.x' to keep code up-to date.
If you do develop, then read Pro Git Book. It will be faster then use forum.

jamespetts

Unless you want to change branches manually frequently, I recommend setting it to pull from "-devel" for nightly builds. It's not currently as up to date as 9.x, but it will be quite easy for me to merge in from 9.x so that -devel no worse than 9.x: let me know if you'd like me to do this.

wernieman

yes ... but how I use it .....

jamespetts

I don't know the command line interface, as I use the Windows GUI for GIT. Ansgar knows how to use the command line interface, I think, or, as inkelyad suggested, there are tutorials online.

wernieman

But for this .. I don´t understand the online tutorials .....

jamespetts

Have you tried asking Ansgar? It was he who introduced me to Git in the first place.