Preparation
- Source repo should have as many branches and PRs closed or merged as possible
- Rest of PRs should be merged with master just before migration begins
Prepare the initial commit of the migrated repo (master)
- Archive source repo
- Go to target directory in monorepo
- Clone source repo into correctly named folder in monorepo
cd
to repo and make all necessary changes for migration to monorepo (e.g. renaming)- Commit all changes INSIDE the cloned repo on local master (commit name doesn't matter, DO NOT PUSH)