Companies often want to implement a Jenkins or Gitlab pipeline to improve their development quality and automate their continuous testing. Companies will then often migrate their source control software from SVN to GIT and Gitlab.
Following John Albin great article available here https://john.albin.net/git/convert-subversion-to-git and Gitlab documentation I migrated a couple of SVN repository to GIT as described below.
Configure your local GIT configuration so it can communicate with your company Gitlab server :
This part isn’t related to migrating your SVN to a GIT repository, but it’s the first thing you’ll need to do to push your migrated source code to your remote Gitlab server. (Up to date Gitlab doc available here: https://gitlab.com/help/ssh/README#generating-a-new-ssh-key-pair)
Once this is done we can start migrating our SVN repository to Git.
Converting an SVN repository to Git and pushing it to Gitlab:
In this part,
That’s it. You should now be able to use your newly converted Git repository with your company Gitlab and start adding some continuous improvement pipelines.