Merge 2 Git repositories

Merge 2 unrelated repositories into one.

Sometimes it is necessary to combine 2 different Git repositories with preservation of both histories. In this example I assume that we only have one active branch (master) around that none of the files are duplicates.

Follow these steps

Back

© 2014–2022 Claus Gerull. All rights reserved.