Skip to content

20160501_Migrate_SVN_To_Git

Wiki converter edited this page Sep 24, 2020 · 2 revisions

Phil Burk

We wanted to enable Merge Requests and Code Review. Also Git has better branching. So the community decided to move to Git.

Assembla did not seem to have a good SVN to Git conversion tool. SO I imported the Assembla SVN repo into GitHub, which preserved all the branches and tags.

I then cloned the GitHub repo and pushed it to Assembla. Somewhere along the way we lost the branches. But they are old and not very active. So we may be able to just pull out the changes manually from SVN and remerge them.

Also the author information was not completely preserved. We have names on the commit history. But the names do not link to Assembla accounts.

Here are the steps I followed to upload the repo to Assembla.

git clone https://github.com/philburk/portaudio-xfer.git portaudio
cd portaudio/
git remote rename origin github
git remote add origin git@git.assembla.com:portaudio.git
git config --local user.email "burkphil@gmail.com"
ssh-keygen -t rsa -C "burkphil@gmail.com"
git push --all -u origin
Clone this wiki locally