mkdir /tmp/morse-fastimport
cd /tmp/morse-fastimport
git init
cd /tmp
git clone https://github.com/morse-simulator/morse.git
cd morse
git fast-export --all | (cd /tmp/morse-fastimport && git fast-import )
cd /tmp/morse-fastimport
# compress repo from 1.4 GB to 500 MB
# warn: this will take lot of memory, cpu and time
# prune is optionnal, save few MB
git gc --prune=all --aggressive
# git remote add origin git@gitlab.com:morse/morse.git
# git push origin master -u
gitlab-ci runs debian jessie, no need to run sudo:
gitlab import
few notes on importing morse repository to GtiLab (including continuous integration with
gitlab-ci
)in order to fix git issue:
(you can check in morse repo using
git fsck
)gitlab-ci
runs debian jessie, no need to runsudo
:https://gitlab.com/pierriko/morse/commit/42259ba7c0995dbd86f2672b2126102ff0bab69e https://gitlab.com/pierriko/morse/builds/689216 https://gitlab.com/pierriko/morse