This script helps you migrate your GitHub repos to Bitbucket.
To use it, you need to:
- MANUALLY create empty repos of the same name on Bitbucket
- create a file containing the repo names, one repo each line
- in
migrate.sh
, changeGH_USER
andBB_USER
to your usernames on GitHub and Bitbucket respectively - run
./migrate.sh
and all branches and tags will be synced
- use API to create repos on Bitbucket