Stacked PRs CLI
av
is a free and open-source CLI built and managed by Aviator to manage Stacked PRs on top of GitHub. You can download and use the CLI even without creating an Aviator account.
What happened?
For the past couple of months, we have been working on a massive rewrite on the CLI and that is now generally available.
👉 Read the docs and the man pages
👉 Install and try out the CLI
👉 Give us a ⭐ on GitHub
What’s new
Interactive stack sync
Conditionally sync trunk branch
Conditionally push to origin
Cleanup merged branches
Auto-resolve merge conflicts with merged branches
Restack locally
A new command av stack restack
to restack the branches without pushing to remote.
Stack visualization
av stack tree
provides a clean visual of the entire stack and state of each branch.
Interactive switch
Use av stack switch
to switch between branches of the stack.
Adopt branches or stacks
av stack adopt
lets you adopt existing stacks or branches that were created without the CLI.
Other improvements
av commit ammend
andav commit create
prevents users from accidentally updating a merged branch.av stack switch
can take a branch name or a PR URL. You can directly jumpto the branch by pasting the URL.Support non-origin remote as the upstream.
av stack tidy
to clean out merged / deleted branchesav stack orphan
to remove a branch or a stack from trackingEnable writing stack trees to PR bodies
Performance improvements across all commands including stack sync, and stack adopt.