Commits pane
The pane consists of three areas:
| Item | Description |
|---|---|
| Commits |
The area shows a list of all the commits performed in the selected branch or in all branches. For each commit, the list shows the commit message, the author, and the commit date.
If you are viewing commits from all branches, both local and remote, each commit is supplied with a color label with the name of the branch or tag in which the commit was performed.
The current branch is marked with an asterisk *.
The color of the label depends on the type of the branch:
Note Committed changelists often correspond to issues in tracking systems. You can have such issues opened in the browser right from the Commits pane. This functionality has the following prerequisites:
After the issue navigation is configured, issue numbers in commit messages are rendered as links. Clicking such link brings you to the corresponding page of your issue tracker. |
| Commit Details | This area provides details on the commit selected in the Commits list. All the branches in which the commit is made are also shown and their type - local or remote - is indicated. |
Toolbar
| Item | Tooltip and Shortcut | Description |
|---|---|---|
| Find | Use this text box to search through the list of commits for entire or parts of commit messages or names of commit authors. As you type a search string, the commits with messages or authors that match the search pattern are displayed, with the matching character strings highlighted. To finalize the search, press EnterEnter. The previously used search patterns are stored in the search history list. |
| Click this button to clear the search history list. | |
| Branch | In this drop-down list, specify the branch to show commits in. To have commits from all local and remote branches shown, choose All. The current branch is indicated with an asterisk *. | |
| User | In this drop-down list, specify the name of the author whose commits you need listed. To view commits from all users, choose All. | |
| Load More |
Click this button if you need to have older commits listed. The text on the button changes to Loading. When WebStorm is through with loading a new portion of commits,
the original text is restored.
Note The button is only available when the Commits list does not contain the entire history. | |
| Cherry-pick | Click this button to have the changes from the selected commit applied to the current branch. |
|
| Create Patch | Click this button to create a patch based on the selected commit. |
| Show graph |
Click this toggle button to have the graph of revisions shown or hidden.
|
| Go to commit | Click this button to find a specific commit in the shown part of the graph. In the Go to pop-up tool-window that opens, specify the commit hash, or description fragment, or branch or tag name. WebStorm navigates to the commit that meets the specified requirements and its visual presentation in the graph. |
| Refresh | Click this button to refresh the information in the Commits pane. |
Changed files pane
The pane shows the list of files that were modified and committed within the selected commit.
| Item | Tooltip and Shortcut | Description |
|---|---|---|
|
| Show Diff Ctrl+DCtrl+D | Click this button to show the differences between the current and previous revisions of the selected file. |
|
| Show Diff with Local | Click this button to show the differences between the selected revision of the selected file and its current local copy. |
|
| Edit Source F4F4 | Click this button to open the local copy of the selected file for editing. |
|
| Open Repository Version | Click this button to open the repository version of the selected file. |
| Revert Selected Changes | Click this button to have the changes in the selected file abandoned. |
| Properties Diff | Click this button to view the differences in file properties between the current version and the previous revision. |
|
| Group by Directory Ctrl+PCommand P | Click this button to transform a flat list of files into a tree of packages with files. |
| Expand All Ctrl+Add; Ctrl+EqualsCtrl+Add; Ctrl+Equals | Click this button to expand all nodes.
Note The button is available only when the files in the pane are displayed grouped by directories. |
| Collapse All Ctrl+Subtract; Ctrl+MinusCtrl+Subtract; Ctrl+Minus | Click this button to collapse all nodes.
Note The button is available only when the files in the pane are displayed grouped by directories. |
|
| Select All Ctrl+ACtrl+A | Click this button to have all files in the Changed Files pane selected. |

shown or hidden.