Skip to content

Instantly share code, notes, and snippets.

@javajenks
Created May 22, 2022 19:33
Show Gist options
  • Save javajenks/a0841f3601691ef9d4cb341adf077880 to your computer and use it in GitHub Desktop.
Save javajenks/a0841f3601691ef9d4cb341adf077880 to your computer and use it in GitHub Desktop.
Create the empty repo in GH
git clone –mirror <Bitbucket_repo_address>
cd repo
git remote rm origin
git remote add origin <GitHub_repo_address>
git push –mirror
Rename the bitbucket repo to stop any accidental commits.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment