- Click the plus sign in the navigation bar on GitHub
- Click Import Repository
- Copy the url for the BitBucket repo
- Make sure the owner is Sendiradid
- Give the new repo a name and set it to Private
- Click Begin import and insert your BitBucket credentials
- Go do something else until you get an email notifying that the import has finished
- Add instructions in readme for how to set the origin url of local repositories (see ReadmeInstructions.txt)
- Make sure that all open PRs in BitBucket are recreated in GitHub
- Rename the BitBucket repo, add
- MIGRATED
to the end of it. This will break all local connections to it.
- Follow the above instructions for the submodule
- Make sure you have changed the superrepo's origin to GitHub
- Inside the superrepo, open
.gitmodules
and change the url to the new submodule's url - Run
git submodule sync
- Inside the submodule, run
git remote -v
to verify changes - Inside the superrepo, commit the changes to
.gitmodules
to master and push.
Take a few moments and delete stale branches and branches that aren't ahead by any commits