gh-pr-tree
is a GitHub CLI extension that helps you visualize the dependency tree of pull requests.
Normally, gh pr list --base <branch>
only shows the direct PRs targeting a branch. With gh-pr-tree
, you can see all descendants recursively as a hierarchical tree, making it easier to track stacked PRs and feature branch chains.
gh
command