I want to merge a repository into a folder of an other repository.
Currently, it looks like this :
I have multiple repositories like A, B, C,…
-> A .git -> B .git -> C .git
And then I have only one repository for example called R which contains folder A,B,C (which are not git repositories but only folder which contains almost the same stuff than the previous A,B,C git repositories) :
-> R .git A B C
I want to merge A repository with the A folder in R repository, B repository with the B folder in R repository, etc.
What would be the best solution ?