tags:

views:

64

answers:

3

Some help please. This doesn't seem to do it for me:

git svn clone --stdlayout --authors-file=../authors.txt file:///home/path
+1  A: 

There's a pretty thorough set of instructions available here, including how to convert SVN "tags" and "branches" into actual Git tags and branches.

mipadi
+2  A: 

The simplest way is to use svn2git, a ruby script that handles all of that for you. I've used it over the past 8 months or so to convert several quite large subversion repos to git; it's by far the best tool I've found for the job.

ebneter
A: 

I have had great luck with specifying the branches and tags explicitly:

git svn clone http://server.com/svn/project -T trunk -b branches -t tags project
git remote add origin [email protected]:project
git push origin master
csexton