- Create an empty repo in BitBucket
git clone --bare [email protected]:user/repo.git
cd repo.git
git push --mirror [email protected]:user/repo.git
Created
October 8, 2014 02:31
-
-
Save schmich/bdfe38d465e2e85f3113 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