Use this dialog box to assign tags to commits and commit objects.
|Git Root||In this drop-down list, select the path to the local repository in which you want to tag a commit or a commit object.|
|Current Branch||This read-only field shows the name of the branch which is currently checked out in the selected local repository.|
|Tag Name||In this text box, type the name of the new tag.|
|Force||Select 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 WebStorm displays an error message.
|Commit||In 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.
|Validate||Click this button to check that the commit specified in the Commit field exists and view which files were affected in it.|
|Message||In the text box, provide a description of the commit to be tagged.
Fill in this text box to create an annotated tag.
|Create Tag||Click this button to have the specified commit or commit object tagged.|