Skip to content

RebaseOpts

RebaseOpts = object

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

Options for git rebase

Properties

abort?

optional abort: boolean

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

Abort rebase


apply?

optional apply: boolean

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

Use apply strategy


autosquash?

optional autosquash: boolean

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

Automatically squash fixup commits


autostash?

optional autostash: boolean

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

Automatically stash/unstash


committerDateIsAuthorDate?

optional committerDateIsAuthorDate: boolean

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

Set committer date to author date


continue?

optional continue: boolean

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

Continue rebase


empty?

optional empty: "drop" | "keep" | "ask"

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

How to handle empty commits


exec?

optional exec: string

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

Execute command after each commit


forceRebase?

optional forceRebase: boolean

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

Force rebase even if already up-to-date


forkPoint?

optional forkPoint: boolean

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

Use fork point for base


gpgSign?

optional gpgSign: boolean | string

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

GPG-sign commits


ignoreWhitespace?

optional ignoreWhitespace: boolean

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

Ignore whitespace differences


interactive?

optional interactive: never

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

Interactive rebase (not supported - use raw)


keepBase?

optional keepBase: boolean

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

Keep the commits at the base unchanged


noFf?

optional noFf: boolean

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

Create merge commit instead of rebasing


noVerify?

optional noVerify: boolean

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

Bypass pre-rebase hook


onto?

optional onto: string

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

Onto target


quiet?

optional quiet: boolean

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

Be quiet


reapplyCherryPicks?

optional reapplyCherryPicks: boolean

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

Reapply cherry-picks


rebaseMerges?

optional rebaseMerges: boolean

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

Preserve merges


rerereAutoupdate?

optional rerereAutoupdate: boolean

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

Automatically update rerere state


rescheduleFailedExec?

optional rescheduleFailedExec: boolean

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

Reschedule failed exec commands


resetAuthorDate?

optional resetAuthorDate: boolean

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

Set author date to committer date


root?

optional root: boolean

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

Rebase from root commit


signoff?

optional signoff: boolean

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

Add signoff


skip?

optional skip: boolean

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

Skip current commit


strategy?

optional strategy: string

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

Merge strategy


strategyOption?

optional strategyOption: string | string[]

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

Strategy options


updateRefs?

optional updateRefs: boolean

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

Update refs that point to rebased commits


upstream?

optional upstream: string

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

Upstream branch


verbose?

optional verbose: boolean

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

Be verbose


whitespace?

optional whitespace: string

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

Whitespace handling mode