gt downstack submit

Idempotently force push all branches from trunk to the current branch to GitHub, creating or updating distinct pull requests for each

Options

NameDescription
--draft, -dIf set, marks PR as draft. If --no-interactive is true, new PRs will be created in draft mode
--publish, -pIf set, publishes PR. If --no-interactive is true, new PRs will be created in draft mode
--edit, -eEdit PR fields inline. If --no-interactive is true, this is automatically set to false
--no-edit, -nDon't edit PR fields inline. Takes precedence over --edit
--dry-runReports the PRs that would be submitted and terminates. No branches are pushed and no PRs are opened or updated
--confirm, -cReports the PRs that would be submitted and asks for confirmation before pushing branches and opening/updating PRs. If either of --no-interactive or --dry-run is passed, this flag is ignored
--select, -sReports the PRs that would be submitted and asks the user to select which should be updated/created. If either of --no-interactive or --dry-run is passed, this flag is ignored
--update-only, -uOnly update the PRs that have been already been submitted
--force, -fForce push: overwrites the remote branch with your local branch. Otherwise defaults to --force-with-lease