gt stack submit
Idempotently force push all branches in the current stack to GitHub, creating or updating distinct pull requests for each
Options
Name | Description |
---|---|
--draft, -d | If set, marks PR as draft. If --no-interactive is true, new PRs will be created in draft mode |
--publish, -p | If set, publishes PR. If --no-interactive is true, new PRs will be created in draft mode |
--edit, -e | Edit PR fields inline. If --no-interactive is true, this is automatically set to false |
--no-edit, -n | Don't edit PR fields inline. Takes precedence over --edit |
--dry-run | Reports the PRs that would be submitted and terminates. No branches are pushed and no PRs are opened or updated |
--confirm, -c | Reports 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, -s | Reports 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, -u | Only update the PRs that have been already been submitted |
--force, -f | Force push: overwrites the remote branch with your local branch. Otherwise defaults to --force-with-lease |