Copy Bitbucket repo to GitHub

PHOTO EMBED

Wed Jan 05 2022 06:58:54 GMT+0000 (Coordinated Universal Time)

Saved by @pirate

$ git clone --mirror https://bitbucket.org/aiida_team/aiida_core.git
$ cd aiida_core.git
$ git remote set-url --push origin git@github.com:giovannipizzi/aiida_core_test.git
$ git push --mirror
content_copyCOPY

https://gist.github.com/lsloan/ce704da0d62ce3808dbc12e5a37ba8fc