- Repository
A
we want to become a part of another repository. - Repository
B
we want repoA
to be merged into.
- We want source code from repo
A
to be located under a sub-directory in repoB
and repoA
history stored in a dedicated repoB
branch. - We do not want original repo
A
be changed or corrupted.