I have a number of SVN projects:
/home/me/code/projectA
(points to http://myserver.com/svn/projectA/trunk - has two branches: branch1 and branch2)
/home/me/code/projectB
(points to http://myserver.com/svn/projectB/trunk - has two branches: branch3 and branch4)
I want to migrate them to Git in a hierarchical project structure where master_project is the git root:
/home/me/code/master_project/.git
/home/me/code/master_project/projectA
/home/me/code/master_project/projectB
I want to preserve the original commit history for projectA and projectB. I don't care about revision numbers. I will not need the SVN projects any more once I perform this migration, so I am not worrying about somehow keeping the flow of changes coming in from SVN to this new Git repo. It's a straight up import.
Any ideas as to the best way of doing this?
Is it possible to keep branches branch1 and branch3 as branches in the Git repo?