DubStack
Commands

restack

Rebase the current branch (and optionally descendants) onto their updated parents.

Usage

dub restack

Description

Rebases the current branch onto its parent, then recursively rebases all descendant branches. This keeps your stack up to date when a parent branch changes.

Options

FlagDescription
--currentOnly restack the current branch (skip descendants)

Examples

# Restack the current branch and all descendants
dub restack

# Restack only the current branch
dub restack --current

On this page