I am in the need of converting a local SVN repository to GIT. I know how to convert a remote SVN repository to git, however, I only have the local repositories; they are no longer hosted. How would I go about converting a local SVN repo to git?
What I tried was this:
git svn clone -s file://data/svn/repo/ /data/git/repo.git
Error was:
E: 'trunk' is not a complete URL and a separate URL is not specified
Best Answer
Figured it out...
I needed an extra
/
afterfile://
so that it started at the root of the filesystem. Darn it!Final command worked:
git svn clone -s file:///data/svn/repo/ /data/git/repo.git