简体   繁体   English

从SVN迁移到带有附加文件夹的标签/树干/分支/发行版的GIT

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

I have SVN project with the below directory structure 我有以下目录结构的SVN项目

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迁移到GIT的问题是我可以映射

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

How can I map release folder to a GIT folder 如何将发布文件夹映射到GIT文件夹

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. 看看有关从Subversion迁移到Git的Atlassian教程。 It's quite straight and clear: 这很简单明了: https://www.atlassian.com/git/tutorials/migrating-overview . 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. 您可以尝试一下,看看会得到什么,如果您不喜欢,可以总是重新开始。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM