SwitchOpts
このコンテンツはまだ日本語訳がありません。
SwitchOpts =
object
Defined in: src/core/repo.ts:1061
Options for git switch
Properties
conflict?
optionalconflict:"merge"|"diff3"|"zdiff3"
Defined in: src/core/repo.ts:1086
Conflict style for merge conflicts
create?
optionalcreate:boolean
Defined in: src/core/repo.ts:1064
Create new branch
detach?
optionaldetach:boolean
Defined in: src/core/repo.ts:1074
Detach HEAD
discard?
optionaldiscard:boolean
Defined in: src/core/repo.ts:1068
Discard local changes
force?
optionalforce:boolean
Defined in: src/core/repo.ts:1088
Force switch (throw away local modifications)
forceCreate?
optionalforceCreate:boolean
Defined in: src/core/repo.ts:1066
Force create (overwrite existing)
guess?
optionalguess:boolean
Defined in: src/core/repo.ts:1078
Try to guess remote tracking branch if target not found
ignoreOtherWorktrees?
optionalignoreOtherWorktrees:boolean
Defined in: src/core/repo.ts:1094
Ignore if branch is checked out in other worktrees
merge?
optionalmerge:boolean
Defined in: src/core/repo.ts:1084
Merge local modifications with the new branch
orphan?
optionalorphan:boolean
Defined in: src/core/repo.ts:1090
Create new orphan branch
overwriteIgnore?
optionaloverwriteIgnore:boolean
Defined in: src/core/repo.ts:1092
Silently overwrite ignored files
quiet?
optionalquiet:boolean
Defined in: src/core/repo.ts:1080
Suppress progress reporting
recurseSubmodules?
optionalrecurseSubmodules:boolean
Defined in: src/core/repo.ts:1082
Update submodules
startPoint?
optionalstartPoint:string
Defined in: src/core/repo.ts:1070
Start point for new branch
track?
optionaltrack:boolean
Defined in: src/core/repo.ts:1072
Track remote branch