Converting from svn to git
- From
- David Neu <david@davidneu.com>
- Date
- Aug 10, 2008, 13:11 UTC
- Message-ID
- <e0b44a890808100611t27ddfcb6v21eecea89484c90b@mail.gmail.com>
Hi,
I'm trying to move an svn repo to git. I'm not going to be committing back to the svn repo, but will simply retire it and use git.
The issue I'm having is that the svn repo has sub directories that I'd like to be separate git repos.
I can easily accomplish this for the sub directories like this:
git-svn clone svn-url/subdir1 git-svn clone svn-url/subdir2 etc.
but for the files in the base directory
git-svn clone svn-url
pulls the entire directory tree.
Is there a git-svn strategy similar to git-svnimport -P that would do the trick? My git version 1.5.6.4 doesn't include git-svnimport, and I'm getting the impression it's be deprecated.
Many thanks for any help!
Cheers, David