Share directory
Install the Subversion plugin
This functionality relies on the Subversion plugin that should be installed and enabled in your IDE.
Press Ctrl+Alt+S to open the IDE settings and select
.Switch to the Marketplace tab and use the search field to find the Subversion plugin.
Click Install and restart the IDE if prompted.
DataGrip supports the Subversion sharing directories feature. The Share Directory command is applied to the content roots. When such content root is shared, a new directory is created in the specified location of the Subversion repository, checked out to the local directory you want to share, and the contents of the local directory is added to the repository. As a result, the local directory contains a valid working copy of the repository.
To share a directory via the Subversion repository, do the following:
In the Files tool window, select an unversioned directory that is the content root of a module associated with Subversion.
From the main menu, select VCS | Subversion | Share Directory.
Specify the target repository location where the directory shall be shared.