DataGrip 2025.2 Help

Manage projects hosted on GitLab

Enable the Git plugin

This functionality relies on the Git plugin, which is bundled and enabled in DataGrip by default. If the relevant features are not available, make sure that you did not disable the plugin.

  1. Press Ctrl+Alt+S to open settings and then select Plugins.

  2. Open the Installed tab, find the Git plugin, and select the checkbox next to the plugin name.

Install the GitLab plugin

This functionality relies on the GitLab plugin, which you need to install and enable.

  1. Press Ctrl+Alt+S to open settings and then select Plugins.

  2. Open the Marketplace tab, find the GitLab plugin, and click Install (restart the IDE if prompted).

Clone a GitLab project

You can clone a project that you want to contribute to directly from DataGrip 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