IntelliJ IDEA 2025.2 Help

Manage projects hosted on GitLab

Clone a GitLab project

You can clone a project that you want to contribute to directly from IntelliJ IDEA and create a new project based on it.

Before cloning a project, make sure you have logged in to your GitLab account.

  1. Use one of the options to open the Clone Repository dialog:

    • Go to File | New | Project from Version Control.

    • If you already have a project open, go to VCS | Get from Version Control.

    • On the Welcome screen, click the Clone Repository button.

    Get from Version Control dialog
  2. Specify the URL of the project you want to clone.

  3. In the Directory field, enter the path to the folder where your local Git project will be created.

  4. Click Clone.

Share a project on GitLab

You can add a remote GitLab repository for your local project so that others can view it or contribute to it.

Before sharing your project, make sure you have logged in to your GitLab account.

  1. Open your local project.

  2. If your project is already tracked by Git, go to Git | GitLab | Share Project on GitLab in the main menu.

    If you have not enabled Version Control Integration yet, go to VCS | Share Project on GitLab in the main menu.

  3. In the dialog that opens, select your GitLab account and namespace. You can also change the repository name (by default, it is the same as the project name), the name of a remote (by default, origin), choose the repository type (public or private), and add some description if needed:

    Share Project on GitLab dialog
  4. Click Share.

    Once the project is published, you can always open it in browser by selecting Git | GitLab | Open on GitLab in the main menu.

22 August 2025