I have a PR on top of a PRs stack. All are merged ...
# how-do-i
d
I have a PR on top of a PRs stack. All are merged but the top one. How can I move it to main to remove it from the tip of the PRs stack. Moving to main (gt move...) does not work, as gt already considers it on main. Is there a clean way to do this?
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
hey Dimas, I think you'd need to create a stub PR to move the tip stack PR onto so it can be retargeted from main. Then you can move it back onto main and it should then form its own stack.
d
That is what I did in the past, but considered it more a tweak than a "real" solution. Isn't there a "cleaner" way?