-
Probably a dumb question, but I've been going over the docs and can't seem to figure it out.
Now this moves repoA to the What am I missing? I understood that as Any help would be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I was able to resolve this using both Then in my monorepo I added the local path to
After that I ran
And that did exactly what I needed. Got all the files where they belonged, nothing was overidden and the full history was intact. |
Beta Was this translation helpful? Give feedback.
I was able to resolve this using both
git-filter-repo
andgit merge
.I used
git-filter-repo
to restructure the file tree inmy-repo-a
to match the structure it should belong under in the monorepo.Then in my monorepo I added the local path to
my-repo-a
as a remoteAfter that I ran
git fetch my-repo-a --tags
and then merged.And that did exactly what I needed. Got all the files where they belonged, nothing was overidden and the full history was intact.