How do I automatically rebase upstack PRs when I m...
# how-do-i
j
How do I automatically rebase upstack PRs when I merge a downstack PR? I often forget to manually reupload, and this confuses reviewers who then see multiple PRs combined in one, I think because the downstack branch gets deleted. It seems like Graphite has the ability to rebase PRs itself, it would be great if we could rebase automatically when a parent branch is merged.
✅ 1
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 jamie, you should be able to use
gt sync
and then
gt submit
. if you run into any conflicts after running
gt sync
then you can run
gt restack
to help resolve them before resubmitting.
j
yeah i can fix this manually, the problem is that I (and other folks were they to use graphite) forget to manually re-upload to clear the review. clearly this is fixable manually, I was hoping for some kind of automatable solution
p
this is something that we've heard from a few customers, and we're tracking requests for this feature. i've added your feedback to that issue so it's on our radar!
👍 1