Monday 15 July 2013

GIT clone one SVN project out of a multiproject structure -


We want to use GIT and we want to clone step by step projects outside SVN.

Our SVN structure looks like this:

  thrunk / ------- / project1 ------- / project2 ----- - / project3..N Branches - - / devlopment ------- / project1 ------- / project2 ------- / project3..N --- / Feature-2 - ------ / project1 ------- / Project 2 ------- / Project 3 .. N Tag --- / v1.0 ------- / project1 - ----- / project2 --- For example, we only want to clone Project 2. How can we do this without losing the entire history of the branches and so on?   

I think your best method is to import the entire history in GIT by git To use svn , and then split each subdirectory into your own GIT repository, use it with git filter-branch .

No comments:

Post a Comment