The History tab is added to the Version Control tool window on invoking the Show History command for a file or directory through the menu of a particular VCS. A new tab is created for each file or directory with the following name: History: <file_name>. The set of toolbar buttons differs slightly depending on your version control system.
All commands available from the toolbar are also available from the context menu of a selection.
|Item||Tooltip and Shortcut||Description|
|Click this button to compare the selected revision of a file with its previous revision in the Differences viewer for files.|
|Compare with Local||Click this button to compare the selected revision of a file with its local copy in the Differences viewer for files.|
|Compare all classes from revision on UML
|Click this button to view all classes of the selected revision as a UML Class diagram. See section Viewing Changes as Diagram.|
|Open in GitHub||Click this button to open the page that corresponds to the selected commit on GitHub.|
|Create Patch||Click this button to create a patch from the selected revision.|
|Get||Click this button to retrieve the selected revision. If the local copy has already been modified, PyCharm prompts to overwrite the local version, or cancel the operation.|
|Annotate||Click this button to open the selected revision of a file in the editor with annotations.|
|Show All Affected Files
|Click this button to open the Paths Affected in Revision dialog where you can view all files that were modified in the selected revision.|
|Copy Revision Number||Click this button to copy the revision number of the commit that the selected file belongs to to the clipboard.|
Click this button to show branches.
|Show All Revisions Submitted In Selected Changelist||
Click this button to display the list of all revisions committed in the same changelist as the selected revision of a file.
|Refresh||Click this button to refresh the current information.|
|Show Details||Click this button to show the commit message for the selected revision.|
|Click this button to close the current history tab.|
|Click this button to show reference information.|