Skip to main content
In Diversion, you can tag commits for easier reference of particular commits. Tags can also be managed from the desktop app - see the Tags guide. To list all tags in the repository:
Use --json for JSON output, e.g. for scripting. To create a new tag:
The above command will create a new tag with the name <name>, and optionally, you can add a description [-a "Tag description"]. You can also provide the commit_id explicitly, or by default, the current commit will be tagged. Tag names can contain letters, numbers, and the characters . - _ / (no spaces), up to 128 characters. Descriptions are limited to 1024 characters. To delete a tag:
The tag ID must be Diversion’s ID, not the tag name. You can find it with dv tag, or copy it from the desktop app. -f skips the confirmation prompt. To modify an existing tag:
[--name <new_name>] changes the tag’s name. [-a <description>] updates the tag’s description.