Skip to content

Instantly share code, notes, and snippets.

@schmidt1024
Last active August 21, 2017 09:14
Show Gist options
  • Save schmidt1024/a16728e68dc034ac1e37404743a3e2ae to your computer and use it in GitHub Desktop.
Save schmidt1024/a16728e68dc034ac1e37404743a3e2ae to your computer and use it in GitHub Desktop.
git move from gitlab to github
# first create an empty repo on GitHub
git remote add github https://yourLogin@github.com/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