コンテンツにスキップ

CheckoutBranchOpts

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

CheckoutBranchOpts = object

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

Options for git checkout (branch switching mode)

Used for: git checkout <branch>

Properties

conflict?

optional conflict: "merge" | "diff3" | "zdiff3"

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

Conflict style for merge conflicts


createBranch?

optional createBranch: boolean

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

Create new branch


createReflog?

optional createReflog: boolean

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

Create reflog for new branch


detach?

optional detach: boolean

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

Detach HEAD at specified commit


force?

optional force: boolean

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

Force checkout (discard local changes)


forceCreateBranch?

optional forceCreateBranch: boolean

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

Create or reset and checkout branch (like -b but forces)


guess?

optional guess: boolean

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

Try to guess remote tracking branch if target not found


ignoreOtherWorktrees?

optional ignoreOtherWorktrees: boolean

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

Ignore if branch is checked out in other worktrees


merge?

optional merge: boolean

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

Merge local modifications with the new branch


orphan?

optional orphan: boolean

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

Create new orphan branch


overwriteIgnore?

optional overwriteIgnore: boolean

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

Silently overwrite ignored files


quiet?

optional quiet: boolean

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

Suppress progress reporting


recurseSubmodules?

optional recurseSubmodules: boolean

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

Update submodules


startPoint?

optional startPoint: string

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

Start point for new branch


track?

optional track: boolean

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

Track remote branch