PyCharm 2.7.2 Web Help

2.0+

Warning

The tab is available for Git integration only.

VCS | Show Changes View - Log

View | Tool Windows | Changes - Log

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:

Commits pane

The pane consists of three areas:

  1. Commits
  2. Commit Details
  3. Toolbar

gitLogTab.png

ItemDescription
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.

Toolbar

ItemTooltip
and Shortcut
Description
find1.gif FindUse 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. The previously used search patterns are stored in the search history list.
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.
Load More Click this button if you need to have older commits listed. The text on the button changes to Loading. When PyCharm 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.

cherryPickButton.png Cherry-pick Click this button to have the changes from the selected commit applied to the current branch.
iconCreatePatch.png Create PatchClick this button to create a patch based on the selected commit.
git_show_graph.png Show graph Click this toggle button to have the graph of revisions shown or hidden.
git_go_to_commit.png 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. PyCharm navigates to the commit that meets the specified requirements and its visual presentation in the graph.
refresh.png RefreshClick 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.

ItemTooltip and ShortcutDescription
img Show Diff
Ctrl+DCtrl+DCtrl+DCtrl+DMeta+DCtrl+DCtrl+D, Ctrl+Shift+Down or Ctrl+Shift+UpCtrl+DMeta DMeta DMeta D
Click this button to show the differences between the current and previous revisions of the selected file.
img Show Diff with LocalClick this button to show the differences between the selected revision of the selected file and its current local copy.
img Edit Source
F4F4F4F4F4F4F4F12 or Ctrl+Shift+EF4F4F3
Click this button to open the local copy of the selected file for editing.
img Open Repository VersionClick this button to open the repository version of the selected file.
rollbackSVN.png Revert Selected ChangesClick this button to have the changes in the selected file abandoned.
propertiesDiff Properties DiffClick this button to view the differences in file properties between the current version and the previous revision.
img Group by Directory
Ctrl+PCtrl+PCtrl+PCtrl+PCtrl+PCtrl+PCtrl+PCtrl+PMeta PMeta PMeta P
Click this button to transform a flat list of files into a tree of packages with files.
img Expand 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+EqualsMeta NumPad or Meta EqualsMeta NumPad or Meta EqualsMeta NumPad or Meta 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.

img Collapse All
Ctrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusMeta NumPad - or Meta MinusMeta NumPad - or Meta MinusMeta NumPad - or Meta 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.

iconSelectAll.png Select All
Ctrl+ACtrl+ACtrl+ACtrl+ACtrl+X, HCtrl+ACtrl+ACtrl+AMeta AMeta AMeta A
Click this button to have all files in the Changed Files pane selected.

See Also

Procedures:

Reference:

External Links:

Web Resources: