Phase 5: Migration Execution
The iterative loop - one group at a time.
Tool: GitHub Enterprise Importer (GEI)
gh extension install github/gh-gei
gh gei migrate-repo \
--github-source-org SOURCE_ORG \
--source-repo REPO_NAME \
--github-target-org TARGET_ORG \
--target-repo REPO_NAME \
--dry-run
gh gei migrate-org --github-source-org SOURCE_ORG \
--github-target-org TARGET_ORG \
--github-target-enterprise TARGET_ENTERPRISE
After migration: Reclaim mannequins - placeholder identities that hold migrated user activity. Map them to real managed user accounts so history is attributed correctly.
Keep source active in parallel until the group is validated and productive.