コンテンツにスキップ

SwitchOpts

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

SwitchOpts = object

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

Options for git switch

Properties

conflict?

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

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

Conflict style for merge conflicts


create?

optional create: boolean

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

Create new branch


detach?

optional detach: boolean

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

Detach HEAD


discard?

optional discard: boolean

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

Discard local changes


force?

optional force: boolean

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

Force switch (throw away local modifications)


forceCreate?

optional forceCreate: boolean

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

Force create (overwrite existing)


guess?

optional guess: boolean

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

Try to guess remote tracking branch if target not found


ignoreOtherWorktrees?

optional ignoreOtherWorktrees: boolean

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

Ignore if branch is checked out in other worktrees


merge?

optional merge: boolean

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

Merge local modifications with the new branch


orphan?

optional orphan: boolean

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

Create new orphan branch


overwriteIgnore?

optional overwriteIgnore: boolean

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

Silently overwrite ignored files


quiet?

optional quiet: boolean

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

Suppress progress reporting


recurseSubmodules?

optional recurseSubmodules: boolean

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

Update submodules


startPoint?

optional startPoint: string

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

Start point for new branch


track?

optional track: boolean

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

Track remote branch