IntelliJ IDEA 2017.3 Help

History Tab

The History tab is added to the Version Control tool window on invoking the Show History command for a file or directory through the menu of a particular VCS. A new tab is created for each file or directory with the following name: History: <file_name>. The set of toolbar buttons differs slightly depending on your version control system.

All commands available from the toolbar are also available from the context menu of a selection.

ItemTooltip and ShortcutDescription
icon showDiff Compare
Ctrl+D
Click this button to compare the selected revision of a file with its previous revision in the Differences Viewer for Files.
icon showDiffLocalShow Diff with LocalClick this button to compare the selected revision of a file with its local copy in the Differences Viewer for Files.
iconCreatePatchCreate PatchClick this button to create a patch from the selected revision.
historyViewGetIconGetClick this button to retrieve the selected revision. If the local copy has already been modified, IntelliJ IDEA prompts to overwrite the local version, or cancel the operation.
annotate detailsAnnotateClick this button to open the selected revision of a file in the editor with annotations.
showAffectedFilesShow All Affected Files
Shift+Alt+A
Click this button to open the Paths Affected in Revision dialog where you can view all files that were modified in the selected revision.
copyCopy Revision NumberClick this button to copy the revision number of the commit that the selected file belongs to to the clipboard.
icon UMLCompare all classes from revision on UML
Ctrl+Shift+D
Click this button to view all classes of the selected revision as a UML Class diagram. See section Viewing Changes as Diagram.
openGitHubOpen in GitHubClick this button to open the page that corresponds to the selected commit on GitHub.
showAllBranchesIcon Show All Branches Click this button to display changes from branches other than the current one.
hierarchyClassButtonShow Branches

This option is only available if you are using Perforce for version control.

Click this button to show branches.

icon ChangeListShowAllShow All Revisions Submitted In Selected Changelist

This option is only available if you are using Perforce for version control.

Click this button to display the list of all revisions committed in the same changelist as the selected revision of a file.

refreshRefreshClick this button to refresh the current information.
showDetailsShow DetailsClick this button to show the commit message for the selected revision.
closeClose
Ctrl+Shift+F4
Click this button to close the current history tab.
Last modified: 6 March 2018

See Also