Moving a Gitlab Repo

If you want to move a repository from one Gitlab instance to one on another server, the following works well (make sure you create an empty repo on the new Gitlab instance, and make sure the name is different): git clone git@my.gitlab-server.com/someRepo.git someRepocd someRepogit remote add someRepo2 git@my.other-gitlab.com/someRepo2.gitgit push someRepo2 mastergit remote set-url someRepo2 git@my.other-gitlab.com/someRepo2.git Read More …