Skip to content

Instantly share code, notes, and snippets.

@pinguedwinde
Forked from vinvin27/00-generate-ssh-key.txt
Created January 28, 2021 22:45
Show Gist options
  • Save pinguedwinde/07b9e9a91b92df8e30b7096a7310a232 to your computer and use it in GitHub Desktop.
Save pinguedwinde/07b9e9a91b92df8e30b7096a7310a232 to your computer and use it in GitHub Desktop.
Comment migrer ses dépôts Bitbucket vers Github : Le tuto complet ici https://migration.boutique/migration-de-bitbucket-a-github-le-tuto/
$ ssh-keygen -t rsa -b 4096 -C "[email protected]"
$ eval "$(ssh-agent -s)"
$ ssh-add -K ~/.ssh/id_rsa_nom2clef
$ pbcopy < ~/.ssh/id_rsa_nom2clef.pub
$ git clone --mirror https://bitbucket.org/LOGIN_BITBUCKET/mon-depot.git
$ git remote set-url --push origin [email protected]:LOGIN_GITHUB/mon-depot.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment