This message was deleted.
# announcements
s
This message was deleted.
a
In your local repo, run the following:
Copy code
$ gt branch checkout <PR B>
$ gt repo sync --restack // fetches latest changes, and restacks current branches onto main
$ gt branch submit // updates PR B
m
But won't that rebase and dismiss all existing reviews?
j
Do you have the "Dismiss stale pull request approvals when new commits are pushed" setting enabled?
m
yeah
j
This happens because the squashed/rebased version of A on master is different from the commits that are part of your branch, and GitHub is not smart enough to realize that the commits are the same, so shows the diff between B and
git merge-base master B
. Unfortunately, there is no way to resolve this other than rebasing, so we generally recommend disabling this rule when possible.
m
😢 that's unfortunate
and it'll have to re-run CI 😭
☠️ 1