[Bug] Claude fails to detect open PRs when worktree branch name differs from upstream tracking branch

Resolved 💬 2 comments Opened Mar 19, 2026 by danielorbach Closed Apr 16, 2026

Bug Description
When worktree branches are pushed to origin with different names (because the default name is ugly) then Claude doesn't detect open PRs. Claude doesn't associate the upstream tracking branch and instead appears to rely on the branch name explicitly.

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.79
  • Feedback ID: 14c11e9c-6e8b-4061-a9e0-9927064c67f1

Errors

[]

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗