Skip to content

Instantly share code, notes, and snippets.

@cod3cow
Last active August 21, 2017 09:14
Show Gist options
  • Select an option

  • Save cod3cow/a16728e68dc034ac1e37404743a3e2ae to your computer and use it in GitHub Desktop.

Select an option

Save cod3cow/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