~/til/how-to-combine-two-repository-with-unrelated-history
How to combine two repository with unrelated history and keep upcoming changes
1 min read
Do this in the repository that will receive the changes from the other repository.
bash
git merge --squash --allow-unrelated-histories -X theirs branch-name