Import project from repository by URL

Prerequisite:

  • At least the Maintainer role on the destination group to import to. Using the Developer role for this purpose was deprecated in GitLab 15.8 and will be removed in GitLab 16.0.

You can import your existing repositories by providing the Git URL:

  1. In GitLab, on the top bar, select Main menu > Projects > View all projects.
  2. On the right of the page, select New project.
  3. Select the Import project tab.
  4. Select Repository by URL.
  5. Enter a Git repository URL.
  6. Complete the remaining fields.
  7. Select Create project.

Your newly created project is displayed.

Automate group and project import

For information on automating user, group, and project import API calls, see Automate group and project import.