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 post-migration mapping of user contribution and membership.

Migrate from Groups Projects Migration tool Post-migration mapping
GitLab (by using direct transfer)
GitLab (by using file export) 1 No
Bitbucket Server No
GitHub No
Gitea No
Bitbucket Cloud No No
FogBugz No No
Git repository through a manifest file No No
Git repository through a repository URL No No
ClearCase No No No
CVS No No No
Perforce Helix No No No
Subversion No No No
Team Foundation Version Control (TFVC) No No No
Jira (issues only) No No 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 ( ) 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.