[HOWTO] Update my copy of FGDATA next with submodules
Posted: Thu Oct 08, 2015 10:54 pm
Hi ALL
This comes everytime.
Let's assume you already have a copy of FGDATA next with submodules, but some planes got updated. How do you bring them to the latest version?
A. Always pull your repository
Go to the directory of your fgdata and pull
B. Update the submodules you initialized previously
There is no point to update aircrafts before completing step A above!!
Aircraft non-GPL does not update like this (unless you use the --recursive mode)
To update non-GPL aircraft
New Aircraft?
These need to be initialized if you want to install them, example
Initializing ALL aircraft
Updating ALL aircraft -- previously initialized and not
This comes everytime.
Let's assume you already have a copy of FGDATA next with submodules, but some planes got updated. How do you bring them to the latest version?
A. Always pull your repository
Go to the directory of your fgdata and pull
Code: Select all
git pull
B. Update the submodules you initialized previously
There is no point to update aircrafts before completing step A above!!
Code: Select all
git submodule update
Aircraft non-GPL does not update like this (unless you use the --recursive mode)
To update non-GPL aircraft
Code: Select all
git submodule update Aircraft-nonGPL
cd Aircraft-nonGPL
git submodule update
New Aircraft?
These need to be initialized if you want to install them, example
Code: Select all
cd Aircraft-nonGPL
git submodule init Goose
git submodule update Goose
Initializing ALL aircraft
Code: Select all
git submodule init .
Updating ALL aircraft -- previously initialized and not
Code: Select all
git submodule init .
git submodule update
cd Aircraft-nonGPL
git submodule init .
git submodule update