コンテンツにスキップ

Worktree

このコンテンツはまだ日本語訳がありません。

Worktree = object

Defined in: src/core/repo.ts:2122

Worktree information (§7.4)

Parsed from git worktree list --porcelain output.

Properties

branch?

optional branch: string

Defined in: src/core/repo.ts:2128

Branch name (if checked out)


head: string

Defined in: src/core/repo.ts:2126

HEAD commit hash


locked

locked: boolean

Defined in: src/core/repo.ts:2130

Whether the worktree is locked


path

path: string

Defined in: src/core/repo.ts:2124

Worktree path


prunable

prunable: boolean

Defined in: src/core/repo.ts:2132

Whether the worktree is prunable