DataGrip 2024.2 Help

Directory Mappings

In this page, specify which version control systems will be used for specific directories or the entire project.

Item

Description

Directory

This field shows the path to project directories or the project roots.

For projects with Git or Mercurial integration enabled, DataGrip scans project directories to check if there are Git or Mercurial repositories that are not controlled by the IDE. If such repositories are found, they are listed here under Unregistered roots and are marked grey. To add an unregistered root, select it in the list and click the Add button the Add button.

DataGrip also checks if registered roots are valid, in other words, that a Gitor Mercurial repository exists at the specified path. If invalid repositories are detected, they are marked with red.

VCS

Select a version control system for the specified directory.

VCS integration in DataGrip is provided through a set of bundled plugins enabled by default. So the list only displays the version control systems which plugins are enabled.

This list only displays the version control systems for which you have the corresponding plugins installed. plugins are installed and enabled.

Add

Click this button to add a directory mapping to the list.

Edit

Click this button to edit the selected directory mapping.

Remove

Click this button to remove the selected directory mapping from the list.

Last modified: 11 February 2024