Sunday, September 13, 2009

Incremental git fast-export / fast-import

Initial export:
git fast-export --all --export-marks=exportmarks.txt >data.fi
Initial import:
git fast-import --export-marks=importmarks.txt 
Incremental export:
git fast-export --all --import-marks=exportmarks.txt --export-marks=exportmarks.txt >data.fi
Incremental import:
git fast-import --import-marks=importmarks.txt --export-marks=importmarks.txt 
blog comments powered by Disqus