Skip to content

Instantly share code, notes, and snippets.

@schmich
Created October 8, 2014 02:31
Show Gist options
  • Save schmich/bdfe38d465e2e85f3113 to your computer and use it in GitHub Desktop.
Save schmich/bdfe38d465e2e85f3113 to your computer and use it in GitHub Desktop.
Mirroring a repo to BitBucket
  1. Create an empty repo in BitBucket
  2. git clone --bare git@github.com:user/repo.git
  3. cd repo.git
  4. git push --mirror git@bitbucket.org:user/repo.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment