CLion 2018.1 Help

History Tab

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.

ItemTooltip and ShortcutDescription
icon showDiff Compare
Click this button to compare the selected revision of a file with its previous revision in the Differences Viewer.
icon showDiffLocalShow Diff with LocalClick this button to compare the selected revision of a file with its local copy in the Differences Viewer.
iconCreatePatchCreate PatchClick this button to create a patch from the selected revision.
historyViewGetIconGetClick this button to retrieve the selected revision. If the local copy has already been modified, CLion prompts to overwrite the local version, or cancel the operation.
annotate detailsAnnotateClick this button to open the selected revision of a file in the editor with annotations.
showAffectedFilesShow 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 iconCopy Revision NumberClick this button to copy the revision number of the commit that the selected file belongs to to the clipboard.
openGitHubOpen in GitHubClick this button to open the page that corresponds to the selected commit on GitHub.
showAllBranchesIcon Show All Branches Click this button to display changes from branches other than the current one.
hierarchyClassButtonShow Branches

Click this button to show branches.

icon ChangeListShowAllShow 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.

refreshRefreshClick this button to refresh the current information.
showDetailsShow DetailsClick this button to show the commit message for the selected revision.
Click this button to close the current history tab.
Last modified: 24 July 2018

See Also