-
-
Save anoopupadhyay/f76b1f321c6783c0991e2ecb701bdf3d to your computer and use it in GitHub Desktop.
Migrate repo from GitLab to GitHub Full blog post @ http://ruby.zigzo.com/2015/03/23/moving-from-gitlab-to-github/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Clone the repo from GitLab using the `--bare` option | |
| $ git clone --bare [email protected]:mario/my-repo.git | |
| # Push to GitHub using the `--mirror` option. The `--no-verify` option skips any hooks. | |
| $ git push --no-verify --mirror [email protected]:mario/my-repo.git | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment