I would like to push all the branches on a WIP sta...
# how-do-i
r
I would like to push all the branches on a WIP stack I'm working on. The stack has more than 50 branches, so I'm getting this error:
馃 Nice stack! Only opening PRs for the first 50 branches in the stack. To open PRs for the upstack branches, please split up the stack (using gt move) or first merge and close some of the downstack PRs.
How can I push the code, so I can then sync on another computer I have?
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
r
image.png
I got here after doing
gt ss --draft
.
p
Hey Richard, i believe the 2 suggestions from the CLI are the only paths forward. You can either move a portion of the stack via
gt move <branch-X> --onto main
or Merge and close some of the bottom PRs then run
gt sync
to clean up merged branches and restack the remainder
r
Thanks Brett.