git svn clone of a single directory of SVN repository

后端 未结 2 1973
误落风尘
误落风尘 2021-01-30 05:16

I am attempting to use git svn to clone a single directory of a SVN repository into a Git repository.

If I use git svn clone svn+ssh://path/to/repo/tr

2条回答
  •  清歌不尽
    2021-01-30 06:11

    You don't want the standard layout, you want something like this:

    git svn clone svn+ssh://path/to/repo/ --trunk=trunk/directory --branches=branches/*/directory --tags=tags/*/directory
    

提交回复
热议问题