- Create an empty repo in Github
git clone --bare [email protected]:user/repo.git
cd repo.git
git push --mirror [email protected]:user/repo.git
Created
March 6, 2019 06:37
-
-
Save nic/efbcc45270b2f0554fec5057abd40035 to your computer and use it in GitHub Desktop.
Mirroring a repo from BitBucket (or Gitlab) to Github
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment