commands.sh

jj tag

all

Manage tags in a `jj` repository. Some subcommands such as `delete`, `list`, `set` have their own usage documentation.

More info →

Options (5)

boolean

Create a tag pointing to the current working copy revision

Example: jj tag {{[s|set]}} {{tag_name}}
-r, --revisionboolean

Create a tag pointing to a specific revision

Example: jj tag {{[s|set]}} {{tag_name}} {{[-r|--revision]}} {{revision}}
boolean

List all tags

Example: jj tag {{[l|list]}}
boolean

Delete a tag

Example: jj tag {{[d|delete]}} {{tag_name}}
-h, --helpboolean

Display help

Example: jj tag {{[-h|--help]}}

Examples (8)

Create a tag pointing to the current working copy revision

jj tag [s|set] tag_name

Create a tag pointing to a specific revision

jj tag [s|set] tag_name [-r|--revision] revision

List all tags

jj tag [l|list]

List tags matching a pattern, sorted by committer date (newest first)

jj tag [l|list] --sort committer-date- "pattern"

Move an existing tag to a different revision

jj tag [s|set] tag_name [-r|--revision] revision --allow-move

Delete a tag

jj tag [d|delete] tag_name

Delete tags matching a glob pattern

jj tag [d|delete] "glob:v1.*"

Display help

jj tag [-h|--help]
made by @shridhargupta | data from tldr-pages