Skip to content

Make rebasing working with worktrees + other local checkouts#119

Open
drisspg wants to merge 1 commit intomodular:mainfrom
drisspg:worktree
Open

Make rebasing working with worktrees + other local checkouts#119
drisspg wants to merge 1 commit intomodular:mainfrom
drisspg:worktree

Conversation

@drisspg
Copy link

@drisspg drisspg commented Mar 9, 2026

Summary

Worked on this with 5.4 but basically I found when I have a main checkout + worktree, if I create a series of commits on a worktree and then run sp land, it lands the pr but fails to rebase because also tried to rebase the local target branch (for example main), even when that branch was checked out in another worktree. This changes land to skip rebasing local branch not owned by worktree and lets them be rebased individually.

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