I want to use git to clone a svn repository, but unfortunately, where svn checkout
gets the repo with all externals, git svn clone
only gets the repository without externals. How can I get the externals from the svn repository via git svn
? I don't want to do any fancy stuff, just get the the complet repo with externals.
git-svn doesn't support externals, but you may try SmartGit instead of git-svn. It supports svn:externals, converting them into .gitsvnextmodules file and displaying as modules. The only restriction: you should clone the repository with SmartGit instead of opening already existing git-svn repository.