Import and migrate to GitLab

  • Tier: Free, Premium, Ultimate
  • Offering: GitLab.com, GitLab Self-Managed, GitLab Dedicated

Bring your existing work into GitLab.

A migration tool is available for some third-party platforms. Some support user contribution and membership mapping.

Migrate from Groups Projects Migration tool Automatic mapping
GitLab (by using direct transfer) check-sm check-sm check-sm check-sm
GitLab (by using file export) check-sm 1 check-sm check-sm No
Bitbucket Server No check-sm check-sm check-sm
GitHub No check-sm check-sm check-sm
Gitea No check-sm check-sm check-sm
Bitbucket Cloud No check-sm check-sm No
FogBugz No check-sm check-sm No
Git repository through a manifest file No check-sm check-sm No
Git repository through a repository URL No check-sm check-sm No
ClearCase No check-sm No No
CVS No check-sm No No
Perforce Helix No check-sm No No
Subversion No check-sm No No
Team Foundation Version Control (TFVC) No check-sm No No
Jira (issues only) No No check-sm No

Footnotes:

  1. Using file exports for group migration is deprecated.

Migrate from Subversion

GitLab cannot automatically migrate Subversion repositories to Git. To convert Subversion repositories to Git, you can use external tools, for example:

  • git svn, for very small and basic repositories.
  • reposurgeon, for larger and more complex repositories.

Migrate by engaging Professional Services

If you prefer, you can engage GitLab Professional Services to migrate groups and projects to GitLab instead of doing it yourself. For more information, see the Professional Services Full Catalog.

View project import history

You can view all project imports you created. This list includes:

  • Paths of source projects if projects were imported from external systems, or import method if GitLab projects were migrated.
  • Paths of destination projects.
  • Start date of each import.
  • Status of each import.
  • Error details if any errors occurred.

The history also includes projects created from either:

GitLab uses import repository by URL to create a new project from a template.

To view project import history:

  1. In the upper-right corner, select Create new ( plus ) and New project/repository.
  2. Select Import project.
  3. In the upper-right corner, select the History link.
  4. If there are any errors for a particular import, select Details to see them.

Importing projects with LFS objects

When importing a project that contains LFS objects, if the project has an .lfsconfig file with a URL host (lfs.url) different from the repository URL host, LFS files are not downloaded.