git clone --mirror https://bitbucket.org/exampleuser/repository-to-mirror.git
# Make a bare mirrored clone of the repository
cd repository-to-mirror.git
git remote set-url --push origin https://github.com/exampleuser/mirrored
# Set the push location to your mirror
git push --mirror
Last active
June 12, 2018 13:17
-
-
Save vavasilva/4072f3562dbd262a7035aff47bc315cd to your computer and use it in GitHub Desktop.
Transfer repo from Bitbucket to Github
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment