Skip to content

BranchCreateOpts

BranchCreateOpts = object

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

Options for creating a branch

Properties

createReflog?

optional createReflog: boolean

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

Create the branch’s reflog


force?

optional force: boolean

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

Force creation (overwrite existing)


recurseSubmodules?

optional recurseSubmodules: boolean

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

Also update submodules


setUpstreamTo?

optional setUpstreamTo: string

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

Set up upstream configuration for the new branch


startPoint?

optional startPoint: string

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

Start point (commit, branch, or tag)


track?

optional track: boolean

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

Set up tracking