I have three GIT repositories:
- Repo1
- Repo2
- Repo3
and i want to unify them into a single repo, like so:
mainRepo/Repo1
mainRepo/Repo2
mainRepo/Repo3
where every old repository is a subfolder of the new one. The mainRepo
is a new repository, without anything inside.
The old repositories will be deleted, so there is no need to keep the remote, and i need to keep file history. I have tried to do it with subtree and manually merging, but didnt succeed.