QQ Is there a way to take a full stack of PRs and ...
# how-do-i
j
QQ Is there a way to take a full stack of PRs and squash them down into a single commit onto main instead of merging each individually generating one commit per PR?
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 James, I think at this time you'd need to manually collate your stack into one PR using
gt fold
to combine the branches. (And we're working on adding fold functionality into the PR page's stack UI so you would be able to do it there.)
j
@Gareth Brickman thanks - I did see that in the cli docs and thought that between that and
gt squash
might be my best bet. That feels like a very good feature to have and I'm glad to hear you might be working on it already. Is there a roadmap and/or up vote system? I'd be happy to give it a +1.