I'm trying to convert a SVN repository to a GIT repository. Inside my SVN /trunk
directory I have multiple directories:
/trunk
/apps
/site
/services
/scripts
/branches
...
/tags
...
If I run the command git svn clone --authors-file=authors.txt https://mysvnrepo.com.br/svn/myapp/ c:/mygitrepo
it will create only one GIT repository with all directories within.
Basically what I want is to create a GIT repository for each directory inside /trunk
so I would have 4 different GIT repos: apps
, site
, services
and scripts
.
Also I would like to create only GIT main
branch, ignoring other SVN branches.
How can I do this with the git svn
command?