Re-import repo from GitHub into existing GitLab project

Is there a way to re-import a repo into an existing GitLab project from GitHub?

I imported a GitHub repo to test some things out: mirroring, CI/CD, etc.

I need to reimport the repo into an existing GitLab project but that GitHub repo shows as already being imported and doesn’t allow me to import it into a new project (or existing project).

We are using GitLab.com

Thanks,

Josh Blair

Delete the same project with gitLAB

Deleting the project in GitLab does not work.

The “To GitLab” column will simply read repo-name-deleted in case my repo was called repo-name and then when you click “Go to project” you get a 404.

I found same issue , repo-name-deleted when I click “Go to project” I got an error 404

Ran into the same issue.

Haven’t tried with the same name, but definitely works with different names. Instead of using the github import tab, try selecting Repo by URL.

If it is a private repo, I put the same token I would have used for Github and then just added my github username. Not sure if this gives you all the same stuff as the Github import, but worked for me.