WebStorm 8.0.0 Web Help

Warning

The tab is available for Git and Mercurial integration only.

VCS | Show Changes View - Log

View | Tool Windows | Changes - Log

The tab shows changes committed in all the branches of the local and remote repositories or in a specific local or remote branch.

The tab contains the following panes:

  • The Commits pane shows the commits in the selected branch from the local and remote repositories.
  • The Changed Files pane shows the list of files that were modified and committed within the selected commit.

Commits pane

The pane consists of three areas:

  1. Commits
  2. Commit Details
  3. Toolbar. Some of the toolbar commands are duplicated on the context menu.
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:
  • Green for local branches.
  • Violet for remote branches.
  • Yellow for tags.

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:

  • The pattern of the bug tracking system is specified in the Issue Navigation page of the Settings dialog box.
  • The corresponding issue number is mentioned in the commit message.

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.

This area is shown, when the button Show Detailsshow_details1 is pressed.

Toolbar

Item Tooltip and Shortcut Description
Filter 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 EnterEnterEnterEnterEnterEnterEnterEnterEnterEnterEnter.
find1 Click this button to show the list of the previously used search patterns.
clear.png 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. To view commits of a specific author, choose Select.
Date In this drop-down list, specify the period of time of the commits you need listed. To view commits for all dates, choose All. To view commits of a specific period, choose Select.
Structure In this drop-down list, specify the files or directories where you need commits listed. To view commits everywhere, choose All. To view commits in specific files or directories, choose Select.
collapse_linear_branches Collapse linear branches Click this button to collapse all branches of the graph so that a dotted line would be shown instead of the successive commits.
It is possible to collapse an individual expanded branch by clicking it.
expand_linear_branches Expand all branches Click this button to show the successive commits of the graph.
It is possible to expand an individual collapsed branch by clicking it.
show_long_edges Show long edges If this toggle button is not pressed (by default), then the long branches are replaced with a down arrow.
If this toggle button is pressed, then the entire long branch is shown, even though there are no commits in it.
refresh.png Refresh Ctrl+F5Ctrl+F5Ctrl+5Ctrl+F5Ctrl+F5Ctrl+Alt+RCtrl+F5Ctrl+F5Command RControl F5Command R Click this button to refresh information in the Commits pane.
show_details1 Show details Click this button to show Commit details pane.
find Go to Hash/Branch/Tag
Ctrl+F or Alt+F3Ctrl+F or Shift+Alt+3Ctrl+F or Shift+Alt+3Ctrl+F or Alt+F3Ctrl+Alt+S, Alt+F3 or Ctrl+SCtrl+F or Alt+F3Ctrl+F or Alt+F3Ctrl+F or Alt+F3Command FCommand F or Alt F3Command F
Click this branch to jump to the hash, tag, or branch, specified in the text field.
viewMode Quick settings Click to reveal the check command Show Branches Panel. If this check command is selected, the existing branches are displayed in a panel:

branches_panel

cherryPickButton.png Cherry-pick Click this button to have the changes from the selected commit applied to the current branch.
non_picked_commits Highlight non-picked commits Click this button to highlight the commits from the selected branch, which were already applied to the current branch.

Context menu commands

Item Description
Copy Hash Choose this command to put the hash of the current commit to the clipboard.
Create Patch iconCreatePatch.png Choose this command to create a patch based on the selected commit.
Cherry-pick cherryPickButton.png Choose this command to have the changes from the selected commit applied to the current branch.
Checkout Revision Choose this command to check out revision of the selected commit.
New Branch Choose this command to create a new branch with the specified name.
New Tag Choose this command to create a tag with the specified name.
Open in GitHub Choose this command to open the selected page on GitHub.

Changed files pane

The pane shows the list of files that were modified and committed within the selected commit. Some of the toolbar commands are duplicated on the context menu.

Item Tooltip and Shortcut Description
img Show Diff
Ctrl+DCtrl+DCtrl+DCtrl+DMeta+DCtrl+DCtrl+D, Ctrl+Shift+Down or Ctrl+Shift+UpCtrl+DCommand DCommand DCommand D
Click this button to show the differences between the current and previous revisions of the selected file.
img 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 Edit Source
F4F4F4F4F4F4F4F12 or Ctrl+Shift+ECommand Down or F4F4F3
Click this button to open the local copy of the selected file for editing.
img Open Repository Version Click this button to open the repository version of the selected file.
rollback Revert Selected Changes Click this button to have the changes in the selected file abandoned.
groupByPackage Group by Directory
Ctrl+PCtrl+PCtrl+PCtrl+PCtrl+PCtrl+PCtrl+PCtrl+PCommand PCommand PCommand P
Click this button to transform a flat list of files into a tree of packages with files.
expandAll.pngcollapseAll Expand All/Collapse All
Ctrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCommand NumPad or Command EqualsCommand NumPad or Command EqualsCommand NumPad or Command Equals
Click this button to expand/collapse all nodes.

Note

These buttons are available only when the files in the pane are displayed grouped by directories.

Context menu commands

Item Description
Show Diff icon_showDiff Choose this command to show the differences between the current and previous revisions of the selected file in the Differences viewer.
Show Diff with Local icon_showDiffLocal Choose this command to show the differences between the selected revision of the selected file and its current local copy in the Differences viewer.
Edit Source edit F4F4F4F4F4F4F4F12 or Ctrl+Shift+ECommand Down or F4F4F3 Choose this command to open the local copy of the selected file for editing.
Open Repository Version icon_openRepositoryVersion Choose this command to open the repository version of the selected file.
Revert Selected Changes rollback Choose this command to have the changes in the selected file abandoned.

See Also

Procedures:

Reference:

External Links:

Web Resources: