File | Settings | Version Control
In the pages of this node, specify the common settings for version control activities that are applied to the project files regardless of the version control system used.
The following pages are grouped below this node:
In the Version Control dialog box, specify which version control systems will be used for specific directories or the entire project.
|Directory||This read-only field shows the path to a directory or the project root.|
|VCS||Select a version control system for the specified directory.|
|Click this button to open the Version Control Configurations dialog box and update the configuration settings of the selected VCS.|
|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.|
|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.|
|Click this button to remove the selected directory mapping from the list.|
|Limit history to||Select this check box to specify the number of history rows. If this check box is selected, the text box of history depth, and the spin box become enabled.|
|2.7+Show directories with changed descendants||If this check box is selected, the directories that contain changes, are color-marked.
The colors are configurable in the Colors and Fonts pages of the Editor settings (File Status - Have immediate changed children, Have changed descendants).
|Store on shelf base revision texts of files under DVCS||
Select this check box to have PyCharm always shelve the base revisions of files that are under Git
or Mercurial version control.
By default, PyCharm always "remembers" the last commit hash. However, this information is not sufficient if the history has been changed since the last commit as a result of running the Rebase operation. In this case, having a copy of the base revision may help.
|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.|
|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.|