jj Verified current stable Not installed? Version Control

Jj / Create Multiple Tags Same Revision

Create Multiple Tags Same Revision

Easily create multiple tags for a specific revision using the jj command line tool.

$
Terminal
jj tag s <tag1 tag2 ...> -r <revision>

When To Use

Mark several related milestones at once for effective traceability.

Command Builder

Tune the command before you copy it

Back to syntax
$
Generated Command
jj tag s <tag1 tag2 ...> -r <revision>

Terminal Output

Expected runtime feedback

Simulated preview
>
Output
Tags created: tag1, tag2
Revision: abc1234

Use 'jj tags' to list all tags.

Command Breakdown

What each part is doing

jj
Base Command
The executable that performs this operation. Here it runs Jj before the shell applies any redirect operators.
s
s|set
The value supplied for s|set.
<tag1 tag2 ...>
tag1 tag2 ...
The value supplied for tag1 tag2 ....
-r
r| revision
The value supplied for r| revision.
<revision>
revision
The value supplied for revision.
-r
Command Option
Tool-specific option used by this command invocation.

How To Run

Execution path

  1. Step 1

    Run the command with 'jj tag' followed by the tags you want to create.

  2. Step 2

    Specify the revision using '-r' or '--revision' option.

  3. Step 3

    Execute the command to create the tags.

Alternative Approaches

Comparable commands in other tools

Alternative version control tools for the same job.