PhpStorm 2021.2 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.

Last modified: 08 March 2021