I am involved in a project with two separate repositories that we will soon be combining into a monorepo. Lerna's import command will be very helpful in this regard, so we will keep the projects' histories.
However, there are currently some in-progress feature branches in the original repositories that likely won't be ready when we move to the monorepo. It's my understanding that lerna import will only pull in the currently checked out branch from the source repo - is that correct?
So I was wondering if there was a way to do the import again, but only pull in commits that have been made since the last import?
That way, the teams working on the feature branches can merge to the develop branch once they're ready and we can bring that over into the monorepo.
Alternatively, are there strategies out there for dealing with this scenario?
Or am I going to have to wait until everything is merged to develop before doing the lerna import?
Thanks!
from Is there a way to "refresh" an imported repository with Lerna?
No comments:
Post a Comment