-
-
Save tommcfarlin/2550043bc0fc8bed8bef82a01c53df6d to your computer and use it in GitHub Desktop.
Migrating From Bitbucket to GitHub: The Complete Guide
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ssh-keygen -t rsa -b 4096 -C "email@pressware.co" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ eval "$(ssh-agent -s)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ssh-add -K ~/.ssh/id_rsa_pressware |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ pbcopy < ~/.ssh/id_rsa_pressware.pub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git clone --mirror https://bitbucket.org/tommcfarlin/acme-repository.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git remote set-url --push origin git@github.com:pressware/acme-repository.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git push --mirror |
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.
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
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.