Browse documentation

Portable .tine files default to v5 (since 0.42). --for-legacy writes v4. The .tine/ repository format is v3. tine evidence export writes v4. Formats and protocols.

Docs target stable release v0.76.0.Stable vs main checked 2026-11-21

Generated command reference · v0.76.0

tine worktree

Portable .tine files default to v5 (since 0.42). --for-legacy writes v4. The .tine/ repository format is v3. tine evidence export writes v4.

Generated from the pinned release’s tine help --json, validated against tine-help/1. Flags and defaults below come from its parser. A null default means unset or withheld as machine-specific.

All commands

tine worktree

Add, list, remove or prune per-branch worktrees

tine worktree [-h] [--repo REPO] [--json] [--text] {add,list,remove,prune} ...
Argument / flagContract
--repo

Positional argument.

Default: "."

--json

Positional argument.

Default: false

--text

Human-readable output even if output.format=json

Default: false

tine worktree add

Create an isolated directory for a ref or run

tine worktree add [-h] [--name NAME] [--git [COMMIT]] [--repo REPO] [--json] [--text] path ref
Argument / flagContract
pathRequired

Positional argument.

refRequired

A ref or run the worktree works on

--name

Registry name (default: the directory name)

--git

Also make it a detached git worktree of the enclosing checkout

--repo

Positional argument.

Default: "."

--json

Positional argument.

Default: false

--text

Human-readable output even if output.format=json

Default: false

tine worktree list

List registered worktrees

tine worktree list [-h] [--repo REPO] [--json] [--text]
Argument / flagContract
--repo

Positional argument.

Default: "."

--json

Positional argument.

Default: false

--text

Human-readable output even if output.format=json

Default: false

tine worktree prune

Forget worktrees whose directory is gone

tine worktree prune [-h] [--repo REPO] [--json] [--text]
Argument / flagContract
--repo

Positional argument.

Default: "."

--json

Positional argument.

Default: false

--text

Human-readable output even if output.format=json

Default: false

tine worktree remove

Remove a worktree and its directory

tine worktree remove [-h] [--force] [--repo REPO] [--json] [--text] name
Argument / flagContract
nameRequired

Positional argument.

--force

Also delete files in it

Default: false

--repo

Positional argument.

Default: "."

--json

Positional argument.

Default: false

--text

Human-readable output even if output.format=json

Default: false

Command-export source · CLI guide and behavioral notes