- Create new project in GitLab
- Clone SVN to git
On local command line:
-
Create
users.txtfile in folder where new repository will go. Add usernames, names and email address of each user, like so:mcc.pete Pete Robinson <[email protected]> -
Clone SVN repository into a git repository:
git svn clone --stdlayout --no-metadata -A users.txt https://web.srvrs.co.uk/svn/apache-yubikeyThis can be slow, be patient.
-
cd apache-yubikey -
Create new project in GitLab
-
git remote add origin [email protected]:ttm/apache-yubikey.gitCommand will be listed on gitlab project screen when you create new project -- copy from there.
-
git push -u origin master
note: If there are unknown users, the git svn clone command will stop, in which case, update users.txt, cd apache-yubikey and git svn fetch will continue from where it stopped.