commands.sh

jj tag set

all

Create or update tags in a `jj` repository. See also: `jj tag delete`, `jj tag list`.

More info →

Options (2)

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}}

Examples (5)

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

Create multiple tags pointing to the same revision

jj tag [s|set] tag1 tag2 ... [-r|--revision] revision

Move an existing tag to a different revision

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

Create a tag pointing to the parent of the current revision

jj tag [s|set] tag_name [-r|--revision] @-
made by @shridhargupta | data from tldr-pages