Skip to content

Instantly share code, notes, and snippets.

@vinvin27
Forked from tommcfarlin/00-generate-ssh-key.txt
Last active January 29, 2021 00:35
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save vinvin27/2de6a07b71a10c15f790c492dc496d1d to your computer and use it in GitHub Desktop.
Save vinvin27/2de6a07b71a10c15f790c492dc496d1d to your computer and use it in GitHub Desktop.
Comment migrer ses dépôts Bitbucket vers Github : Le tuto complet ici https://www.vinvin.dev/migration-de-bitbucket-a-github-le-tuto/
$ ssh-keygen -t rsa -b 4096 -C "ton@email.com"
$ 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 git@github.com:LOGIN_GITHUB/mon-depot.git
@pinguedwinde
Copy link

Great !

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