Generally I don’t have much to add. Be sure you install the GIT-SVN package first.
sudo apt install git-svn
I followed this guide up to step 3:
As well as this one: https://git-scm.com/book/en/v2/Git-and-Other-Systems-Migrating-to-Git
I ran in to issues initially because the SVN repository I was trying to port over DIDN’T follow the norm: it had no
The solution was pretty straight forward once I realized this is why it wasn’t working.
--trunk command line argument to
git svn. I passed it a blank string
--trunk "", and that’s what I needed to find the trunk (which was the root folder).
Once migrated, it was a simple matter of adding a remote (
git remote add origin [email protected]:something/something) and pushing. Boom!