gt upstack
Commands that operate on a branch and its descendants
Subcommands
Name | Description |
---|---|
onto, o | Rebase the current branch onto the latest commit of the target branch and restack all of its descendants. If no branch is passed in, opens an interactive selector |
restack, r, fix, f | Ensure each branch in the current stack is based on its parent, rebasing if necessary |
submit, s | Idempotently force push all branches in the current stack to GitHub, creating or updating distinct pull requests for each |
test, t | Run the provided command on each branch in the current stack and aggregate the results |