sincecutoff.com
← all changes

gh stack unstack dissolves a remote stack by number

Introduced 2026-07-15 · score 0.94

HOW TO USE IT

When dissolving a stack that may not be tracked locally, run `gh stack unstack <stack-number>` from within the repository. It dissolves the stack through GitHub’s API and removes local tracking when present.

gh stack unstack <stack-number>

WHY THIS HELPS

When dissolving a stack that may not be tracked locally, unstack it by its stack number from within the repository.

REQUIREMENTS AND LIMITATIONS

  • Version: v0.0.8
  • <stack-number> (required): Stack number shown in the GitHub stack UI; targets that stack for unstacking.
  • Prerequisite: Install the extension with `gh extension install github/gh-stack`; requires GitHub CLI (`gh`) v2.0 or later.
  • Prerequisite: The Stacked PRs feature must be enabled for the repository; authenticate with GitHub CLI to run stack operations.
  • The command works from anywhere in the repository, whether or not the stack is tracked locally.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card