Migrating from SVN to Git

There are already a number of online instructions on how to do this, but many of them required much reading and assumed specific SVN repo layouts. 

I used SVN for various small projects, and didn't follow the standard trunk layout. I also wanted to break up my huge SVN repo into lots of smaller git repos. 

Here is my cheat sheet:

 # mkdir ansible 
# cd ansible
# svn2git svn+ssh://svn.kumari.net/data/svn/my_configs/ansible --trunk / \
--authors ~/src/code/users.txt --no-minimize-url
# git remote add origin git@git.kumari.net:config_ansible
# git push --set-upstream origin master
 

Additional information