Merging packages and their histories into a Lerna monorepo
Update: You probably just want to use lerna import. But if you'd like a manual technique, or aren't actually using Lerna, read on. Let's say you have a Lerna monorepo called acme. You have a package called app, presently in its own repository, that you want to move into repo.
https://stderr.brandonistenes.com/merging-packages-into-a-lerna-monorepo/