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 fromGroupsProjectsMigration toolAutomatic mapping
GitLab (by using direct transfer)check-smcheck-smcheck-smcheck-sm
GitLab (by using file export)check-sm 1check-smcheck-smNo
Bitbucket ServerNocheck-smcheck-smcheck-sm
GitHubNocheck-smcheck-smcheck-sm
GiteaNocheck-smcheck-smcheck-sm
Bitbucket CloudNocheck-smcheck-smNo
FogBugzNocheck-smcheck-smNo
Git repository through a manifest fileNocheck-smcheck-smNo
Git repository through a repository URLNocheck-smcheck-smNo
ClearCaseNocheck-smNoNo
CVSNocheck-smNoNo
Perforce HelixNocheck-smNoNo
SubversionNocheck-smNoNo
Team Foundation Version Control (TFVC)Nocheck-smNoNo
Jira (issues only)NoNocheck-smNo

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. On the left sidebar, at the top, select Create new ( plus ) and New project/repository. If you’ve turned on the new navigation, this button is in the upper-right corner.
  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.