Skip to content

fix(engine): push over a remote branch the host restacked itself - #8

Merged
mhvelplund merged 1 commit into
mainfrom
push-host-restack
Oct 25, 2026
Merged

mhvelplund merged 1 commit into
mainfrom
push-host-restack

Conversation

@mhvelplund

@mhvelplund mhvelplund commented Oct 25, 2026 •

Copy link
Copy Markdown
Owner

After a PR in a GitHub native stack merges, GitHub rebases the PRs above
it onto the trunk itself. git-stack makes the same rebase locally, but
push refused to overwrite GitHub's copies ("holds commits that your local
branch never had"), so git stack merge stopped after every PR. Push now
also overwrites a remote branch whose extra commits only make changes the
local branch already has; merge commits still count as foreign.

🤖 Generated with Claude Code

https://claude.ai/code/session_01K2ffjZ98kNMDjtSLJKwF2t


Stack (managed by git stack)

@mhvelplund
mhvelplund added this pull request to stack #9 October 25, 2026 09:58
@mhvelplund
mhvelplund marked this pull request as ready for review October 25, 2026 10:07
Base automatically changed from release-notes-fix to main October 25, 2026 10:08
After a PR in a GitHub native stack merges, GitHub rebases the PRs above
it onto the trunk itself. git-stack makes the same rebase locally, but
push refused to overwrite GitHub's copies ("holds commits that your local
branch never had"), so `git stack merge` stopped after every PR. Push now
also overwrites a remote branch whose extra commits only make changes the
local branch already has; merge commits still count as foreign.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K2ffjZ98kNMDjtSLJKwF2t
@mhvelplund
mhvelplund merged commit eb484e9 into main Oct 25, 2026
1 check passed
@mhvelplund
mhvelplund deleted the push-host-restack branch October 25, 2026 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant