- Create an empty repo in BitBucket
git clone --bare git@github.com:user/repo.git
cd repo.git
git push --mirror git@bitbucket.org:user/repo.git
-
-
Save sparkbold/4fa9034e8695520fe325fa3971a20b46 to your computer and use it in GitHub Desktop.
Mirroring a repo to BitBucket
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment