|
Create a tag
|
-
In the Git page's Refs view, select the repository from the Repositories drop-down list.
- Click Tags
.
-
Click + Create Tag.
The New Tags dialog box is displayed.
-
Enter the tag name in the Name field.
If you choose a name that's the same as a branch name in the Git repo, you'll see a warning. Although you're not strictly prohibited from using this name, doing so can cause confusion in places where the branch is referred to, like in build jobs. It's best to choose an original name.
- Click the Base selector and, from the list, choose the base revision.
-
Click Create.
|
|
Rename a tag
|
-
In the Tags view, select the tag name to modify from the list.
-
Click the Actions menu
, to the right, and select
Rename.
The Rename Tag dialog box is displayed.
-
Enter the new tag name in the New Name field.
- Select the I want to rename the tag check box.
- Click Rename.
|
|
Compare a tag
|
-
In the Tags view, select the tag name to modify from the list.
-
Click the Actions menu
, to the right, and select
Compare.
The Compare screen opens, comparing the selected tag with the default branch.
-
|
|
Delete a tag
|
-
In the Tags view, select the tag name to modify from the list.
-
Click the Actions menu
, to the right, and select
Delete.
The Delete Tag dialog box is displayed
-
Click the I want to delete the tag check box.
-
Click Delete.
|