Development > Newbie Coding

How do I download just the newest branch and NOT the whole repository in git?

<< < (2/3) > >>

Whitecrow:
thanks! that last one only started downloading after I typed in the fetch command this time and with --depth 1 it just downloads the amount that you said so looks like it worked.  Downloading it now and once it's done I will try and learn/setup/install cg or equilpse and see if it builds correctly.  Will let you know what happens :) I must say though this git is ALMOST more work then svn for ppl like me :( oh well hopefully it helps the developers do things easier that's the main thing :)

Whitecrow:
sorry ment to type ALOT not ALMOST lol always do that thing one word and type another hehe

DarkRain:
Well, no expert in GIT here but when the UFO:AI switched from SVN I spent almost one week using my free time to read about GIT before getting the courage (and chance) to switch, so I learned one or two things

Anyways, you are absolutely right here:

--- Quote from: Whitecrow on September 09, 2010, 02:13:24 am ---hopefully it helps the developers do things easier that's the main thing :)

--- End quote ---

Whitecrow:
Update:  downloaded source code and built with cg with 0 errors and 53 warning messages.  Now attempting to build maps.  Also does anyone know how to set cg so that it compiles the bin in a certain directory or configure the source so that the compiler compiles it in a certain place?  Because as it is it compiles a copy of the binary in the same directory as the source download which is rather messy and pretty much impossible to separate after it has been built.  Will let you know how the map compiling goes and how the binary turns out.  Thanks again for all the help so far

Whitecrow:
update 2: well I downloaded and built the base game fine but when I use python to do the maps it says line corruption or something y/n I type y then it just says version mismatch on all the files?  Any idea what I did wrong there?  Plus I noticed that when I have built from svn in the past it says down the bottom of main menu in game what svn build no. it is and my git compile doesn't have a build no. is that normal?  Can't really test my build till I get next problem sorted the maps but at least I got just the latest version of the base game compiled via git so far thanks to all your help :) any ideas on the map/python issue?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version