Viewing Changes History for a File or Selection
VCS integrations of PhpStorm enable you to inspect the changes made to files, or even fragments of source code. Show History and Show History for Selection commands are available on the main VCS menu, and on the context menus of the files, under the respective VCS nodes.
Results of the Show History command are displayed in a dedicated tab of the Version Control Tool Window. For the different version control systems, the set of toolbar buttons in the History tab may slightly vary. Results of the Show History for Selection command are displayed in a dedicated window, in the form of a differences viewer.
To show history for a file
- On the main VCS menu, or on the context menu of a
file, choose <directory VCS> | Show History . The History
tab for this file appears in the Version Control tool window.
The revisions of a file are shown in regular font. The revision that currently exists in your working copy, is shown in bold font.
- Click the columns to filter the list of changes you have made to the selected file.
- Click the relevant buttons on the toolbar to compare with local version, get the selected version from VCS, annotate a file, refresh the revisions list, and show the list as a tree.