Import project from repository by URL
- Tier: Free, Premium, Ultimate
- Offering: GitLab.com, GitLab Self-Managed, GitLab Dedicated
You can import your existing repositories by providing the Git URL. You can’t import GitLab issues and merge requests this way. Other methods provide more complete import methods.
If the repository is too large, the import can timeout.
Prerequisites
- Repository by URL import source must be enabled. If not enabled, ask your GitLab administrator to enable it. The Repository by URL import source is enabled by default on GitLab.com.
- At least the Maintainer role on the destination group to import to.
- If importing a private repository, an access token for authenticated access to the source repository might be required instead of a password.
Import project by URL
- On the left sidebar, at the top, select Create new ( ) and New project/repository.
- Select Import project.
- Select Repository by URL.
- Enter a Git repository URL.
- Complete the remaining fields. A username and password (or access token) is required for imports from private repositories.
- Select Create project.
Your newly created project is displayed.
Docs
Edit this page to fix an error or add an improvement in a merge request.
Create an issue to suggest an improvement to this page.
Product
Create an issue if there's something you don't like about this feature.
Propose functionality by submitting a feature request.
Feature availability and product trials
View pricing to see all GitLab tiers and features, or to upgrade.
Try GitLab for free with access to all features for 30 days.
Get help
If you didn't find what you were looking for, search the docs.
If you want help with something specific and could use community support, post on the GitLab forum.
For problems setting up or using this feature (depending on your GitLab subscription).
Request support