18
edits
m (added --depth option) |
mNo edit summary |
||
| Line 42: | Line 42: | ||
#:<code>cd fgdata</code> | #:<code>cd fgdata</code> | ||
#:<code>git checkout -b master-tmp</code> | #:<code>git checkout -b master-tmp</code> | ||
#:<code>for N in 1 2 3 4 5 6 7 8; do git pull ../fgdata-update-00$N.bundle master; done | #:<code>for N in 1 2 3 4 5 6 7 8; do git pull ../fgdata-update-00$N.bundle master; done</code> | ||
#:<code>git remote rm origin</code> | #:<code>git remote rm origin</code> | ||
#:<code><nowiki>git remote add origin git://mapserver.flightgear.org/fgdata</nowiki></code> | #:<code><nowiki>git remote add origin git://mapserver.flightgear.org/fgdata</nowiki></code> | ||
| Line 57: | Line 57: | ||
Another option especially for people that just need a base is to not include any history | Another option especially for people that just need a base is to not include any history | ||
==== Windows ==== | ===== Windows ===== | ||
Unknown | Unknown | ||
==== Linux ==== | ===== Linux ===== | ||
Use the ''--depth=1'' option to only get the current objects | Use the ''--depth=1'' option to only get the current objects | ||
As of 20/03/2014 this decreased the number of objects from 226k to 63k | As of 20/03/2014 this decreased the number of objects from 226k to 63k | ||
:<code>git clone git@gitorious.org:fg/fgdata.git --depth==1</code> | :<code>git clone git@gitorious.org:fg/fgdata.git --depth==1</code> | ||
[[Category:Development]] | [[Category:Development]] | ||
edits