PhpStorm 2016.2 Help

Tag Dialog

VCS | Git | Tag Files


Use this dialog box to assign tags to commits and commit objects.

ItemDescription
Git RootIn this drop-down list, select the path to the local repository in which you want to tag a commit or a commit object.
Current BranchThis read-only field shows the name of the branch which is currently checked out in the selected local repository.
Tag NameIn this text box, type the name of the new tag.
ForceSelect this check box to assign an existing tag to another commit or object.

This check box is enabled only if you type the name of an existing tag in the Tag Name text box whereupon PhpStorm displays an error message.

CommitIn this text box, specify the commit or object which you want to tag. Type the desired commit hash or use an expression, for example, of the following structure:
<branch>~<number of commits backwards between the latest commit (HEAD) and the required commit>.
Refer to the Git commit naming conventions for details.
ValidateClick this button to check that the commit specified in the Commit field exists and view which files were affected in it.
MessageIn the text box, provide a description of the commit to be tagged.
Create TagClick this button to have the specified commit or commit object tagged.

See Also

Procedures:

Last modified: 24 November 2016