使用 tags/trunk/branches/release 从 SVN 迁移到 GIT 和一个额外的文件夹

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

我有具有以下目录结构的 SVN 项目

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

从 SVN 迁移到 GIT 的问题是 我可以映射

<b>SVN      to   GIT
branches --  branches
tags     --  tags
trunk    --  trunk
release  --  ??????
</b>

如何将 release 文件夹映射到 GIT 文件夹

我觉得应该也是标签。这主要取决于你如何使用它们。查看有关从 Subversion 迁移到 Git 的 Atlassian 教程。它非常直截了当:https://www.atlassian.com/git/tutorials/migrating-overview。 您可以尝试,看看您得到了什么,如果您不喜欢,您可以随时重新开始。