Last active
August 21, 2017 09:14
-
-
Save cod3cow/a16728e68dc034ac1e37404743a3e2ae to your computer and use it in GitHub Desktop.
git move 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
# first create an empty repo on GitHub | |
git remote add github https://[email protected]/yourLogin/yourRepoName.git | |
git push --mirror github | |
git remote rename origin gitlab | |
git remote rename github origin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment