Skip to main content
The Stacks API provides programmatic access to wit’s stacked diffs functionality for managing dependent branches.

Endpoints

List Stacks

Get all stacks in a repository.

Get Stack

Get details of a specific stack.

Create Stack

Create a new stack from current branch.

Add Branch to Stack

Add a branch to an existing stack.

Remove Branch from Stack

Reorder Stack

Change the order of branches in a stack.

Sync Stack

Rebase all branches in stack onto updated base.

Submit Stack

Create PRs for all branches in stack.

Stack Schema