Reputation: 3880
How can I migrate a private Bitbucket repository to a public Github repository?
Upvotes: 5
Views: 2704
Reputation: 3880
Here are all the commands:
git clone --bare https://bitbucket.com/user/repo.git
cd repo.git
git push --mirror https://github.com/ghuser/repo.git
Upvotes: 8