コンテンツにスキップ

Worktree

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

Worktree = object

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

Worktree information (§7.4)

Parsed from git worktree list --porcelain output.

Properties

branch?

optional branch: string

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

Branch name (if checked out)


head: string

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

HEAD commit hash


locked

locked: boolean

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

Whether the worktree is locked


path

path: string

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

Worktree path


prunable

prunable: boolean

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

Whether the worktree is prunable