VCS | Show Changes View - Local
View | Tool Windows | Changes - Local
Local tab shows the files that have been modified locally and have not been committed to the repository yet.
|Item||Tooltip and Shortcut||Description|
|Refresh Ctrl+F5Ctrl+F5Ctrl+5Ctrl+F5Ctrl+F5Ctrl+Alt+RCtrl+F5Ctrl+F5Command RControl F5Command R||
Click this button to refresh the status of files in your workspace.
The button is only available if the Perforce integration is used in the current project.
Click this button to have the status of files in your workspace refreshed with regard to all the changes made to them, both from PyCharm and from any other application, for example, right through p4v client.
|Commit Changes||Click this button to check in the selected change or changelist. You can also attach and detach Perforce jobs to changelists via Commit Changes dialog.|
|Revert||Click this button to roll back the selected changes.|
|New Changelist Alt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+InsertCtrl+N or Alt+InsertAlt+InsertAlt+InsertCommand N or Control EnterControl N or Control EnterCommand N or Control Enter||Click this button to create a new changelist.|
|Delete Changelist DeleteDeleteDeleteDeleteDelete or Ctrl+DDeleteDeleteDeleteDelete or BackspaceDeleteDelete or Backspace||Click this button to delete the selected changelist. Note that you cannot delete the default changelist.|
|Set Active Changelist||Click this button to make the selected changelist active. The active changelist is highlighted.|
|Move to Another Changelist F6F6F6F6F6F6Ctrl+MShift+Alt+VF6F6Alt Command V||Click this button to move the selected item to another changelist.|
|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 differences between your local version and the latest version in the repository.|
|Ctrl+Shift+Alt+DCtrl+Shift+Alt+DCtrl+Shift+Alt+DCtrl+Shift+Alt+DCtrl+Shift+Alt+DCtrl+Shift+Alt+DCtrl+Shift+Alt+DCtrl+Shift+Alt+DShift Alt Command DShift Alt Command DShift Alt Command D||Use this button to show classes from the selected changelist in a UML Class diagram. See section Viewing Changes as Diagram.|
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 these buttons to expand or collapse all nodes.|
|Ctrl+PCtrl+PCtrl+PCtrl+PCtrl+PCtrl+PCtrl+PCtrl+PCommand PCommand PCommand P||Click this button to display the changed files grouped by directories. If the button is released, the changed files are grouped by changelists.|
|Ctrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+Insert, Alt+C or Escape, WCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCommand C or Command InsertCommand C or Command InsertCommand C or Command Insert||Click this button to copy the path to the selected file to the Clipboard.|
|Show Ignored Files||Click this button to show Ignored files node with the list of existing files, ignored by VCS.|
|Configure Ignored Files||Click this button to configure the list of files that should be ignored by your version control system.|
|Preview Diff||Click this button to have PyCharm open or close Change Details pane to compare the current file with the latest committed revision.|
|F1F1F1F1F1F1F1F1ContextHelpF1ContextHelp||Click this button to show context reference page.|
Change details pane
The pane opens when you click the Change Details button on the toolbar. In this pane, examine the changes made to the selected file compared to the base revision.
The pane consists of two areas:
- The affected code as it was in the base revision.
- The affected code as it is after the change is introduced.
In each area, PyCharm numbers both changes and the lines involved in them.
To close the pane, click the Change Details button once more.