Is there a way to do something like `gt submit --u...
# how-do-i
s
Is there a way to do something like
gt submit --update-only
but for all local branches in a repo that have open PRs? I don't see any flag for
submit
like
--all
and just running
gt submit --update-only
only seems to update PRs in my current stack.
p
(If applicable) To help us more clearly understand what you're trying to do, please provide additional details about: - Screenshots / debug logs / list of commands you've tried to run so far - Your workflow - Current state
Not at the moment, but I can see how a repo-wide “update open PRs” flow would streamline things. I’ve logged this as a request for a submit-style flag that targets all local branches with open PRs. Thanks for the clear example!
s
Nice! Honestly a multi-repo sync+`submit --update-only` would be nice too.
👀 1
j
I just
gt co main
and then
gt submit --stack
. When on main it will do all tracked branches locally that need to be updated. Helpful after a
gt sync
that restacked a bunch of branches