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.
The pane consists of three areas:
|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:
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 -
This area is shown, when the button Show Details is pressed.
|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.|
|Click this button to show the list of the previously used search patterns.|
|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||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 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||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||Click this button to refresh information in the Commits pane.|
|Show details||Click this button to show Commit details pane.|
|Go to Hash/Branch/Tag
or or or or , or or or or or or
|Click this branch to jump to the hash, tag, or branch, specified in the text field.|
|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:
|Cherry-pick||Click this button to have the changes from the selected commit applied to the current branch.|
|Highlight non-picked commits||Click this button to highlight the commits from the selected branch, which were already applied to the current branch.|
|Copy Hash||Choose this command to put the hash of the current commit to the clipboard.|
|Create Patch||Choose this command to create a patch based on the selected commit.|
|Cherry-pick||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|
|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.|
|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.|
|Group by Directory
||Click this button to transform a flat list of files into a tree of packages with files.|
|Expand All/Collapse All
or or or or or or or or or or or or
|Click this button to expand/collapse all nodes.
These buttons are available only when the files in the pane are displayed grouped by directories.
|Show Diff||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||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 or or||Choose this command to open the local copy of the selected file for editing.|
|Open Repository Version||Choose this command to open the repository version of the selected file.|
|Revert Selected Changes||Choose this command to have the changes in the selected file abandoned.|
- Committing Changes to a Local Git Repository
- Applying Changes from a Specific Commit to Other Branches (Cherry Picking)
- Version Control with IntelliJ IDEA
- Using Git Integration