Skip to content

Stranded work: branches that never reached main (2026-08-03) #2267

Description

@github-actions

Branches carrying commits that never reached the default branch.

Pushed but never PR'd

No PR was ever opened, so no event ever fired for these. Content may still have landed
via another PR — verify against the default branch before acting.

Repo Branch Commits Last commit
laurigates/claude-plugins claude/pr-2124-merge-midrgh 6 2026-07-27

Recovery

Rebase onto the default branch, dropping commits already squashed into it, then refile:

git rebase --onto origin/main <already-merged-sha> <branch>
git log --oneline origin/main..<branch>   # expect ONLY the unlanded commits
git push --force-with-lease origin <sha>:<branch>
gh pr create --base main --head <branch>

If the work is redundant, delete the branch instead. Record the SHA first — deletion is
reversible via git push origin <sha>:refs/heads/<branch>.

cc @laurigates

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions