gt downstack
Commands that operate on a branch and its ancestors
Subcommands
Name | Description |
---|---|
edit, e | Edit the order of the branches between trunk and the current branch, restacking all of their descendants |
get, g | Get branches from trunk to the specified branch from remote, prompting the user to resolve conflicts. If no branch is provided, get downstack from the current branch |
restack, r | From trunk to the current branch, ensure each is based on its parent, rebasing if necessary |
submit, s | Idempotently force push all branches from trunk to the current branch to GitHub, creating or updating distinct pull requests for each |
test, t | From trunk to the current branch, run the provided command on each branch and aggregate the results |
track, tr | Track a series of untracked branches, by specifying each's parent. Starts at the current (or provided) branch and stops when you reach a tracked branch |