PhpStorm 2024.3 Help

Patch File Settings dialog

Use this dialog to configure the patch file settings.

Item

Description

Patch file

Specify the name of the patch file. By default, the text in the Commit Message section of the Create Patch dialog is used as the file name. If the Commit Message section is empty, the default name is unnamed.patch.

Base path

Specify the path relative to which paths inside the patch file will be written. Normally, this is your project directory, but you may want to use a relative path, for example, if the modified files are stored inside your VCS repository.

Reverse patch

Select this option if you want to create a patch that reverts the changes you have made.

Encoding

Select the encoding for the patch file from the drop-down list.

For more information about creating and applying patches, refer to Use patches.

Last modified: 10 December 2024