VCS | Show Changes View - Local
View | Tool Windows | Changes - Local
The Local tab shows the files that have been modified locally and have not been committed to the repository yet.
In this topic:
|Item||Tooltip and Shortcut||Description|
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
|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 Ctrl+Alt+Z||Click this button to roll back the selected changes.|
|New Changelist Alt+Insert||Click this button to create a new changelist.|
|Delete Changelist Delete||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 F6||Click this button to move the selected item to another changelist.|
|Show Diff Ctrl+D||Click this button to show differences between your local version and the latest version in the repository.|
|Ctrl+Shift+Alt+D||Use this button to show classes from the selected changelist in a UML Class diagram. See section Viewing Changes as Diagram.|
|Click these buttons to expand or collapse all nodes.|
|Ctrl+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||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.|
|F1||Click this button to show context reference page.|
This pane shows all your changelists, and the files that have been modified in each changelist.
If new files have been added to your project that have not yet been added to a version control system, the Unversioned Files node appears under which all such files are listed. If you have a large number of unversioned files (over 50), they are not displayed in the changelists pane. Instead, the Click to browse link appears. Click this link to open the Unversioned Files dialog to see the list of files that have not been added to a version control system. You can quickly delete unversioned files from the Changelists pane or the Unversioned Files dialog by pressing Delete, or add them to the VCS by pressing Ctrl+Alt+A.
Context menu of a selection
|Commit Changes||N/A||Select this option to check in the selected file or changelist. You can also attach and detach Perforce jobs to changelists via Commit Changes dialog.|
|Revert||Ctrl+Alt+Z||Select this option to roll back the selected changes.|
|Move to Another Changelist||F6||Select this option to move the selected item to another changelist.|
|Show Diff||Ctrl+D||Select this option to view the differences between your local copy and the latest version in the repository.|
|Jump to Source||F4||Select this option to open the selected file(s) in the editor.|
This option is only available if a changelist is selected, not single files.
Select this option to create a new changelist.
|Delete||N/A||This option is only available if single files are selected, not a changelist.|
|Create Patch||N/A||Select this option to create a patch.|
|Shelve Changes||N/A||Select this option to shelve the selected changes.|
|Refresh||Ctrl+F5||Select this option to refresh the status of files in your workspace.|
|Local History||N/A||Select this option and choose one of the following from the popup menu:|
|<Specific version control system>||N/A||Select this option to invoke a popup menu with options specific for the version control system you are using.|
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.