Skip to content

Instantly share code, notes, and snippets.

@tommcfarlin
Created January 11, 2019 03:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save tommcfarlin/2550043bc0fc8bed8bef82a01c53df6d to your computer and use it in GitHub Desktop.
Save tommcfarlin/2550043bc0fc8bed8bef82a01c53df6d to your computer and use it in GitHub Desktop.
Migrating From Bitbucket to GitHub: The Complete Guide
$ ssh-keygen -t rsa -b 4096 -C "email@pressware.co"
$ eval "$(ssh-agent -s)"
$ ssh-add -K ~/.ssh/id_rsa_pressware
$ pbcopy < ~/.ssh/id_rsa_pressware.pub
$ git clone --mirror https://bitbucket.org/tommcfarlin/acme-repository.git
$ git remote set-url --push origin git@github.com:pressware/acme-repository.git
@ajtruckle
Copy link

No worries. I worked out the process now but have contacted GitHub for more assistance. One of the command you used was for a Mac and by using a different one it asked for passphrase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment