Replies: 1 comment
|
Same here.
Then when I try to rebase the stack:
"Fully supported" https://github.github.com/gh-stack/faq/#how-does-squash-merge-work |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Summary
Native stacked PR Rebase stack failed after the bottom PR was squash-merged into
main. The child PR still carried the parent’s pre-squash commits, which no longer exist as the same SHAs onmain, so restack could not reconcile them.Context
mainmain)What happened
main; bottom branch deleted / no longer matches history.After that, the child PR correctly showed only its unique commit against
main.Ask
When the bottom of a stack is squash-merged, restack should:
mainmainSquash-to-trunk is a very common default; without this, native stacks force a manual
rebase --ontoafter every bottom merge.Happy to share more detail if useful.
All reactions