Linux command
jj-tag-list 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
List all tags
jj tag list
List tags matching a glob pattern
jj tag list "[v*]"
List tags sorted by author date
jj tag list --sort author-date-
List tags with a custom template
jj tag list -T '[name ++ "\n"]'
说明
jj tag list displays all tags in the repository. Optionally filter by a glob pattern. Shows the tag name and the commit it references. Multiple sort keys can be specified, with the first key being the most significant. Default sort order can be configured via `ui.tag-list-sort-keys` in the config.
参数
- -T, --template _TEMPLATE_
- Render output using a custom template.
- --sort _KEY_
- Sort by key: name, author-name, author-email, author-date, committer-name, committer-email, committer-date. Suffix with - for descending.
FAQ
What is the jj-tag-list command used for?
jj tag list displays all tags in the repository. Optionally filter by a glob pattern. Shows the tag name and the commit it references. Multiple sort keys can be specified, with the first key being the most significant. Default sort order can be configured via `ui.tag-list-sort-keys` in the config.
How do I run a basic jj-tag-list example?
Run `jj tag list` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -T, --template _TEMPLATE_ do in jj-tag-list?
Render output using a custom template.