mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
437570579c
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
908 B
908 B
jj tag
Manage tags in a
jjrepository. Some subcommands such asdelete,list,sethave their own usage documentation. More information: https://docs.jj-vcs.dev/latest/cli-reference/#jj-tag.
- 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]}}