Skip to content

Instantly share code, notes, and snippets.

@sarvar
Created December 7, 2018 18:17
Show Gist options
  • Save sarvar/a24c266b55646b5fd735fb8799cbde2e to your computer and use it in GitHub Desktop.
Save sarvar/a24c266b55646b5fd735fb8799cbde2e to your computer and use it in GitHub Desktop.
Import an existing git project into GitLab
git init
git remote add origin +"githublink"
git add .
git commit -m "Initial Commit"
git pull origin master
git push origin master
git push -u gitlab --all
git push -u gitlab --tags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment