In the Version Control dialog box, specify which version control systems will be used for specific directories or the entire project.
| Item | Description |
|---|---|
| Directory | This read-only field shows the path to a directory or the project root. |
| VCS | Use this drop-down list to select a version control system to put the specified directory under.
Note The drop-down list displays only the version control systems that are installed and enabled in the IntelliJ IDEA plugin repository. |
|
Click this button to open the Version Control Configurations dialog box and update the configuration settings of the selected VCS. |
| Add | Click this button to add a directory mapping to the list. The Add VCS Directory Mapping dialog box opens where you can specify the required directory, select a VCS for it, and open the Version Control Configurations dialog box to configure the specified VCS, if necessary. |
| Edit | Click this button to edit the selected directory mapping. The Edit VCS Directory Mapping dialog box opens where you can update the selected mapping and configure the specified VCS, if necessary. |
| Remove | Click this button to remove the selected directory mapping from the list. |
| Store on shelf base revision texts of files under DVCS |
Select this check box to have IntelliJ IDEA always shelve the base revisions of files that are under Git or Mercurial version
control.
By default, IntelliJ IDEA always "remembers" the last commit hash |
| Show changed in last <number> days | Select this check box to have color indication of file status applied during stacktrace analysis and debugging. The names of the files that have been changed within a certain period will be highlighted accordingly. Specify the period to observe in the spin box. |
| 11.1+Notify about VCS root errors | If this check box is selected, a notification balloon shows up every time a VCS root is detected. In this case, you can either configure your VCS roots properly, or ignore them. |


.
However, this information is not sufficient if the history has been changed since the last commit as a result of running the