git: export from bitbucket and import github (w/ commits)

bitbucket, git, github, ruby

Solution

Check everything out locally to your computer and git pull.

Create a github repo

Add this repo as your second remote ("with git remote add github URL")

Push to the second remote

Problem

I created a private git repo on bitbucket and committed code. Now I want to export all (commits, code, history) and import it in a git repo on github. Is there a way to do this? Thanks

Original source

Related problems