glab stack sync adds --update-base
Introduced 2026-03-05 · score 0.91
HOW TO USE IT
When a stack needs rebasing onto the latest base branch, run `glab stack sync --update-base`. It rebases the stack onto that branch; sync then force-pushes the stack branches unless `--skip-push` is set.
glab stack sync --update-baseWHY THIS HELPS
Rebase a stack onto an updated base branch.
REQUIREMENTS AND LIMITATIONS
- Version: v1.89.0
- --update-base: Rebase the stack onto the latest version of the base branch.
FIRST-PARTY EVIDENCE
- https://gitlab.com/gitlab-org/cli/-/releases/v1.89.0
- https://gitlab.com/gitlab-org/cli/-/blob/remove-mcp-serve-command/docs/source/stack/sync.md
Check the installed version and the source before using it. Entry JSON