Alister West

home is where your code is ...

svn2git example

Running svn2git produces a git repo in the current directory.

# Make a new dir where you want the new git repo.
sh$ mkdir myrepo.git && cd myrepo.git

# grap a copy of your svn repo
# In this example development had moved from trunk (legacy) to the branch 'live'.
# svn2git died when trying to build the full repo - so we just kept the main branch.
# (3hrs for 300MB and 4K commits)
sh$ svn2git file:///tmp/my-repo-copy.r4222.svn/branches/live --nobranches --notags --rootistrunk
By Alister West