Created
July 3, 2026 12:39
-
-
Save jnicol/98e1b4fae45b8befab321248b6acde8c to your computer and use it in GitHub Desktop.
Migrate bitbucket repo to github
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Github's importer does not support Bitbucket's new mandarotry API token authentication. | |
| # Manual migration is required: | |
| # Clone the Bitbucket repository | |
| git clone https://bitbucket.org/<workspace>/<repo>.git | |
| cd <repo> | |
| # Create an empty repository on GitHub (do NOT add README) | |
| git remote add github https://github.com/<username>/<repo>.git | |
| # Push everything to GitHub | |
| git push github --all | |
| git push github --tags |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment