To clone the SVN repo that is not standard layout, only part of the branches are required.
Edit .git/config:
[svn-remote "svn"]
url = http://blabla.com/svn/
fetch = foo1/bar1:refs/remotes/svn/bar1
branches = foo2/{bar2,bar3, bar4}:refs/remotes/svn/*
branches = foo3/{bar5}:refs/remotes/svn/*
Checkout only certain branches with git-svn · GitHub
https://gist.github.com/trodrigues/1023167
沒有留言:
張貼留言