summaryrefslogtreecommitdiff
path: root/doc/user/project/repository
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-02-28 21:13:35 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-02-28 21:13:35 +0000
commit86ad1426d8a8f5d7f20bc5d8b536d3034d829d1f (patch)
tree7159021dd6fd3834a21096901bddb3b1915caa23 /doc/user/project/repository
parent36eff6e5089629619cc55f4771fa949d6ae2b29b (diff)
downloadgitlab-ce-86ad1426d8a8f5d7f20bc5d8b536d3034d829d1f.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/user/project/repository')
-rw-r--r--doc/user/project/repository/tags/img/tag-display_v15_9.pngbin0 -> 7320 bytes
-rw-r--r--doc/user/project/repository/tags/index.md21
2 files changed, 20 insertions, 1 deletions
diff --git a/doc/user/project/repository/tags/img/tag-display_v15_9.png b/doc/user/project/repository/tags/img/tag-display_v15_9.png
new file mode 100644
index 00000000000..015df07d025
--- /dev/null
+++ b/doc/user/project/repository/tags/img/tag-display_v15_9.png
Binary files differ
diff --git a/doc/user/project/repository/tags/index.md b/doc/user/project/repository/tags/index.md
index d12a4e9f2e4..3d340789c2c 100644
--- a/doc/user/project/repository/tags/index.md
+++ b/doc/user/project/repository/tags/index.md
@@ -15,6 +15,25 @@ reference. Git supports two types of tags:
Many projects combine an annotated release tag with a stable branch. Consider
setting deployment or release tags automatically.
+## View tags for a project
+
+1. On the top bar, select **Main menu > Projects** and find your project.
+1. On the left sidebar, select **Repository > Tags**.
+
+![Example of a single tag](img/tag-display_v15_9.png)
+
+In the GitLab UI, each tag displays:
+
+- The tag name. (**{tag}**)
+- Optional. If the tag is [protected](../../protected_tags.md), a **protected** badge.
+- The commit SHA (**{commit}**), linked to the commit's contents.
+- The commit's title and creation date.
+- Optional. A link to the release (**{rocket}**).
+- Optional. If a pipeline has been run, the current pipeline status.
+- Download links to the source code and artifacts linked to the tag.
+- A [**Create release**](../../releases/index.md#create-a-release) (**{pencil}**) link.
+- A link to delete the tag.
+
## Tags sample workflow
1. Create a lightweight tag.
@@ -22,7 +41,7 @@ setting deployment or release tags automatically.
1. Push the tags to the remote repository.
```shell
-git checkout master
+git checkout main
# Lightweight tag
git tag my_lightweight_tag