Documentation Index
Fetch the complete documentation index at: https://docs.vers.sh/llms.txt
Use this file to discover all available pages before exploring further.
vers repo tag create
Create a tag inside a repo that points to a specific commit. Tags are movable named pointers, thinklatest, v1.2.0, staging, known-good.
Synopsis
Description
Creates a new tag inside the given repository pointing at the commit. The tag is unique per-repo; you can’t have two tags with the same name in the same repo (butmy-app:latest and other-app:latest coexist fine).
Tag names: 1-128 characters, letters, digits, hyphens, underscores, dots.
The commit must be owned by your org. You cannot tag another org’s commit, even if you can see it through a public repo. The way to “import” someone else’s commit is
vers repo fork, which re-commits it under your ownership.Options
| Option | Description |
|---|---|
--description, -d | Optional description of what this tag represents |
Examples
Tag the result of a commit
Tag with a description
Chain from a previous tag lookup
Error Cases
Repository not found
Commit not found or not yours
vers repo fork instead.
Tag already exists
vers repo tag update to move the existing tag to a new commit, or delete it first with vers repo tag delete.
Invalid tag name
See Also
vers repo tag update- move an existing tagvers repo tag list- Repositories and Tags