is there a `gt` way to push all branches of a stac...
# how-do-i
t
is there a
gt
way to push all branches of a stack without creating the PRs?
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
t
i'm not anticipating having as many PRs as i have layers/branches right now, but it makes it easy to do some messy back-and-forth work between branches where
absorb
doesn't cut it
p
hey Tyler, by "push all branches of a stack" do you mean when running
gt submit
?
t
more or less, yeah. say i have a stack: •
z
(top) •
y
•
x
(bottom) •
main
(trunk) want: push every branch - but dont create PRs from them
p
The
--update-only
flag will only push branches and update PRs for branches that already have PRs open. But then I don't think any branches without PRs will get pushed.
t
yeah, that's my understanding too. would be neat, but i can also understand it not being a feature like, just
git push
-ing the top branch effectively pushes everything in that linear stack (though not necessarily the entire non-linear/branching stack) still a
gt ss --push-only
or something would be neat 🤠