Text 8 Mar Migrating from subversion to git

I recently decided to migrate from subversion to git for all my code work. This came about for a number of reasons, but one of the main reasons was I was tired of managing a subversion repository for a project, and then try to migrate that code into my github account. Using git-svn was a possibility, but I decided it would be easiest to go 100% git.

After a quick Google search to ensure that it was possible to setup multiple repositories for a single project with git, I went ahead.

First, the number one hit on google for “migrate subversion to git” is a blog post by Jon Maddox.

Following those instructions seemed pretty straight forward, but I ran into a known issue with git on OSX; I couldn’t authenticate with my subversion repository (I was accessing it through Apache2). After a few minutes trying to fix authentication I just opened up the repository to the public and then put the permissions back in place when the checkout was complete. Not ideal, but it was the quickest solution.

From there, I used these instructions to setup multiple repositories, so I could chose to push to my personal server, to my github account, to both… or really to anywhere.

While I am constantly in and out of the Terminal, I decided to explore the available GUI’s for git on OSX. A thread on stackoverflow had some options, and after looking at some screenshots I settled on Gity by Aaron (Gingrwzrd). Gity seems to fill my need for a (basic) git GUI, and includes a Textmate bundle that I’ll have to check out later.

A few more repositories to migrate and then I’ll be subversion free! I’m using gitolite, which seems very promising, and I am looking forward to having password-less ssh access to my repositories. This is the last nail in the coffin for Apache on my development server.


Design crafted by Prashanth Kamalakanthan. Powered by Tumblr.