This question is somewhat similar to How to merge two branches from two different repositories in one repository? .
However, I want to merge two branches from the repository of the same into one branch, but in separate subdirectories. So, starting with one repo having two branches:
/appFoo
-MasterBranch
-OtherVersionBranch
And ending with a repo with one branch (master) and two subdirectories:
/appFoo
/MasterSubdirectory
/OtherVersionSubdirectory
And of course, I would like to keep the stories intact, so if I look at the file log in OtherVersionSubdirectory , I see all the commits that were made for this branch.
, , , , .
!