# Clone the repository from GitLab git clone <your-git-repo-uri> cd your-repo # Create the repository in the new location using the Service Website # Set the new remote repository URL (if migrating to a new platform) git remote rename origin old-origin git remote add origin <your-new-git-remote-repo-uri> # Push all branches to the new remote git push --set-upstream origin --all # Push all tags to the new remote git push --set-upstream origin --tags
# Clone the repository from GitLab git clone <your-git-repo-uri> cd your-repo # Create the repository in the new location using the Service Website # Set the new remote repository URL (if migrating to a new platform)
<your-new-git-remote-repo-uri> # Push all branches to the new remote git push
--all # Push all tags to the new remote git push
--tags