File | Settings | Version Control | Git
Use this page to specify the version control settings to be applied to the directories of your project that are under Git control.
|Path to Git executable||In this text box, specify the path to the Git executable file. Type the path manually or click the Browse button and specify the path in the dialog that opens.|
|Test||Click this button to verify the path to the Git executable file.|
Use this drop-down list to specify the SSH version to be used with Git.
The available options are:
|Commit automatically on cherry-pick||When you cherry pick a specific commit, the Commit Changes dialog is displayed. If the Commit automatically on cherry-pick option is selected, the selected commit is submitted silently on clicking the cherry-pick button , without displaying the Commit Changes dialog.|
|Auto-update if push of the current branch was rejected||
Select this checkbox if you want the current branch to be updated automatically if the
|Control repositories synchronously||
This option only becomes available if you have a multirooted project, i.e. there are several Git repositories
within a single project.
Select this option if you want branch operations (such as
|Warn if CRLF line separators are about to be committed||
Select this option to enable smart handling of
If this option is deselected, you will have to fix issues with line endings manually using the Difference Viewer dialog.
|Warn when committing in detached HEAD or during rebase||Select this option if you want PhpStorm to display a warning when a commit is performed from a detached head or on rebase, as this may cause issues and code loss.|
|Allow force push||If this check box is selected, the Force push option is added to the Git Push dialog (as a drop-down option on the Push button).|
If you have selected the Allow force push option, but want to disable it for certain
branches, list them here (this is a team-shared parameter that is stored in