Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Mirroring a repo from BitBucket (or Gitlab) to Github
  1. Create an empty repo in Github
  2. git clone --bare git@bitbucket.org:user/repo.git
  3. cd repo.git
  4. git push --mirror git@github.com:user/repo.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.