I'm relatively new to Git, but I've found it so easy to work with at home that I'd like to use it at work where our projects are stored in Svn repositories. Unfortunately, the repositories are slightly non-standard and I'm having trouble getting them cloned. Sure, they all have trunk, branches/ and tags/, but branches/ and tags/ have subdirectories before hitting the real project directories:
$ git svn clone -s --prefix=svn/ https://mydomain.com/svnproject
$ git branch -r
Lee B was right. The answer, provided by doener in #git, is to upgrade Git to 1.6.x (I had been using 1.5.x). 1.6.x offers deep cloning so that multiple wildcards can be used with the
$ git svn clone https://svn.myrepos.com/myproject web-self-serve \ --trunk=trunk --branches=branches/*/* --prefix=svn/ $ git branch -r svn/development/sandbox1 svn/development/feature1 svn/development/sandbox2 svn/development/sandbox3 svn/development/model-associations svn/maintenance/version1.0.0 svn/trunk
Exactly what I needed. Thanks for the insight, all.