FlightGear Git on Windows: Difference between revisions

Jump to navigation Jump to search
Correction and Update in Procedures after Actually Trying the Steps Outlined
(Correction and Update in Procedures after Actually Trying the Steps Outlined)
Line 20: Line 20:


==== Method 1: ====
==== Method 1: ====
Before starting, confirm that the address you're using DOES NOT contain an existing copy of FlightGear!
[[File:msysgit_clone_fgdata.jpg|thumb|270px|The Git Bash window]]
[[File:msysgit_clone_fgdata.jpg|thumb|270px|The Git Bash window]]
Open Git Bash via <tt>C:/Program Files/msysgit/Git Bash</tt> (the shortcut) and run (replacing the path with your prefered path):
Open Git Bash via <tt>C:/Program Files/msysgit/Git Bash</tt> (or open via the shortcut) and run (replacing the path with your prefered path):
  cd D:/FlightGear/data
  cd D:/FlightGear/data
In the event that the program refuses to read the file, try this instead:
cd "C:/Program Files (x86)/FlightGear/data"
(replace the above addresses with wherever your fg/data folder should be -make sure the file doesn't exist, though!)


Then run the following, to initialise a Git repository. This should create a .git directory in data/.
Then run the following, to initialise a Git repository. This should create a .git directory in data/.
Line 29: Line 36:
Add the following command and press Enter.
Add the following command and press Enter.


  git clone git://mapserver.flightgear.org/fgdata/
  git clone git://mgit://gitorious.org/fg/fgdata.git


Now msysGit will pull the entire fgdata package into your <tt>FlightGear/data</tt> directory. '''This can take up to a couple of hours on slow internet connections!'''
Now msysGit will pull the entire fgdata package into your <tt>FlightGear/data</tt> directory. '''This can take up to a couple of hours on slow internet connections!'''
219

edits

Navigation menu