In this page, specify whether you want PyCharm to ask you for confirmation before performing specific version control related actions.
When files are created
In this section, specify whether and how to put a file created in PyCharm under version control:
When files are deleted
In this section, specify whether and how to remove a file from version control when the file is deleted:
Show options before
Select when to show confirmation options.
Prompt to unlock files set to read-only if you attempt to edit them
This option is relevant for Perforce and Subversion. Select it if you want the system to offer you to unlock read-only files when you open a file in the editor and try to modify it.
Check for conflicts with the server every <number> minutes
If you select this checkbox, PyCharm will check whether files modified locally or checked out by you have been modified by someone else.
Highlight files changed in the last <number> days
Select this checkbox to highlight modified files.
Highlight directories that contain modified files in the Project tree
If you select this checkbox, the directories that contain changes are color-marked.
The colors are configurable. To change it open the and select other colors for Have immediate changed children and Have changed descendants options.
When patch is created
Use this list to define the PyCharm behavior when a patch is created. The available options are:
Restore workspace when switching branches
Select this option if you want your workspace, that is a set of opened files, the current run configuration and breakpoints associated with a certain branch, to be restored when you switch to that branch.
Limit history to <number> rows
Select this checkbox to specify the number of lines displayed for a file's history. If you select it, the field of history depth, and the spin box become enabled.
Highlight modified lines in the gutter
Select this option if you want to see markers next to modified lines near the scrollbar on the right.
Highlight modified lines in error stripe on the scrollbar
This option only becomes available if the Highlight modified lines in the gutter option is enabled. Select this option if you want to see markers next to modified lines near the scrollbar on the right.
Highlight lines with whitespace-only modifications with a different color
This option only becomes available if the Highlight modified lines in the gutter option is enabled. Select this checkbox if you want lines where only whitespaces were added or removed to be highlighted with a different color from lines with more significant modifications.