Search code examples
gitsvngithubgit-svntortoisegit

Migrating from SVN to GIT with tags/trunk/branches/release with a extra folder


I have SVN project with the below directory structure

root
    |-->branches
    |-->trunk
        --> file 1
        --> file 2
    |-->release
        --> file 1
        --> file 2
    |-->tags
        |-->tag1
        |-->tag2
        |-->tagN

The problem with moving from SVN to GIT is I can map

SVN      to   GIT
branches --  branches
tags     --  tags
trunk    --  trunk
release  --  ??????

How can I map release folder to a GIT folder


Solution

  • I think the should be also tags. It depends mainly in how you used them. Take a look to the Atlassian tutorial about migrating from Subversion to Git. It's quite straight and clear: https://www.atlassian.com/git/tutorials/migrating-overview. You can experiment, look what you get and if you don't like you can always start over.