I'm trying to use git-svn for an svn project that has multiple sub-projects, each with its own independent trunk/branches/tags structure:

PROJECT
    SubprojectA
        branches
        tags
        trunk
    SubprojectB
        branches
        tags
        trunk

Is it possible to still support branches and tags with git-svn? I don't need it all checked out in one repo, if that's a problem.

有帮助吗?

解决方案

Yes, branches and tags should work fine as long as you split it into two git repos, one for each project. Pass the -s (--stdlayout) flag to git-svn and clone each one with the svn URL of the directory just above "trunk, tags, branches".

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top