Skip to content

Moving from SVN to git

I’ve started to do some desktop file clean up, and have just noticed a couple of text files I keep around that I wrote when starting to move from Subversion to git. I decided to put those instructions in the blog for myself and the world, and delete those files.

The process of moving an existing Subversion application to git is very simple. Go to your server, install git, move to a folder where you want to keep your source code, and create a bare repository. In your local machine, you can then create a new git repository from your existing Subversion repository, add the path to your newly create repository in your server as a remote branch, push your code and you’re done.

{ 2 } Comments

  1. Michael Hendrickx | December 22, 2008 at 6:45 pm | Permalink

    So no more shouting “SVN UP” in the office?

    We’re moving to Mercurial, instead of SVN.

  2. Cloves Carneiro Jr | December 23, 2008 at 7:43 am | Permalink

    We still have a couple of projects on subversion, but all new stuff is on git. Easy branching and being able to commit offline is great.

Post a Comment

Your email is never published nor shared. Required fields are marked *