IntelliJ IDEA 14.0.0 Web Help

Create Patch Dialog

VCS | Create Patch
View | Tool Windows | Changes - Local - Context menu of a file or change list - Commit Changes


Use this dialog box to have a patch file for the specified changelist or files generated.

Toolbar

Item Tooltip and Shortcut Description Available in
vcsToolbarCompareIcon Show Differences
Ctrl+D
Click this button to open the Differences dialog box that points at the inconsistencies between your local working copy of the selected file and the file in the repository. All VCSs
vcsToolbarMoveChangelistIcon Move to Another Changelist
F6
Click this button to add the selected file(s) to another changelist. The Choose Changelist dialog box opens where you can select an existing changelist or create a new one. All VCSs
refresh.png Refresh Changes
Ctrl+F5
Click this button to reload the Changed files tree view so it is up-to-date. All VCSs
img Rollback Click this button to revert all the changes made to the local working copy of the selected file(s). All VCSs
vcsToolbarJumpToSourceIcon Jump to source
F4
Click this button to open the source code of the selected file in the editor. All VCSs
vcsToolbarRevertUnchangedIcon Revert Unchanged Files Click this button to revert the files that have not been modified locally. Subversion
Perforce
vcsToolbarGroupByDirIcon Group by Directory
Ctrl+P
Use this toggle button to switch between the flat view and the directory tree view. All VCSs
expandAll
img
Expand or collapse all nodes
Ctrl+NumPad+
Ctrl+NumPad -
Click these buttons to expand or collapse all nodes in the directory tree. These buttons are not available in flat view. All VCSs
svnSelectAll Select All
Ctrl+A
Click this button to select all the files in the list or directory tree. All VCSs

Controls

Item Description Available in
Changed files This tree view displays the list of changed files. Select check boxes next to the files to be included in the patch. All VCSs
Comment In this text box, describe the changes to be included in the patch. As you type, IntelliJ IDEA checks the spelling and highlights words in question.

This functionality is available if the Spelling code inspection is enabled.

Change list From this drop-down list, select the change list that contains the modified files to be included in the patch. By default, the active change list is suggested. All VCSs
Summary This section displays summary statistics on the currently selected change list, such as the number of modified, new, and deleted files. The area also shows how many files of each type are shown and how many of them will be included in the patch. All VCSs
Before commit Use this area to define which additional activities you want IntelliJ IDEA to perform before creating a patch based on the changes in the selected files. The available options are: CVS
Git,
Subversion,
Perforce
After Commit Use this area to define which additional activities you want IntelliJ IDEA to perform after creating a patch based on the changes in the selected files. The available options are:
  • Upload files to: - use this drop-down list to have the changed files uploaded to a local or remote server, a mounted disk, or a directory. Select the relevant server configuration from the list. To suppress uploading, choose None.
  • Tag committed files - select this check box to have a tag assigned to the changed files. In the text box, type the name of the tag. To have a previously assigned tag replaced with the new one, select the Override existing tags check box.

    This option is only available for CVS.

All VCSs
Create patch Click this button to type the name of the patch file and specify whether you need a reverse patch generated in the Create Patch dialog box that opens. All VCSs

See Also

Concepts:

Procedures:

Web Resources:

Last modified: 4 December 2014
comments powered by Disqus