Skip to content

Instantly share code, notes, and snippets.

@tommcfarlin
Created January 11, 2019 03:08
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
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

Hi - I am trying this and it fails on step 02. It asks for a PIN which I assume is the passphrase. Then an internal error and sas it is not in the right format.

@tommcfarlin
Copy link
Author

Unfortunately, I'm not sure I'm able to help since this is three years old and something may have changed between services. Further, I don't know if it matters on the OS you're running your not.

@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