Duplicate session names when multiple sessions share the same git branch
Status Closed — not planned
Maintainer reply None cached
Workaround ✓ Mentioned in description ↑
Activity 2 comments · opened May 26, 2026 · closed Jun 27, 2026
Problem
When opening multiple Claude Code sessions from the same git branch, all sessions get the exact same auto-generated name (the branch name). This makes it impossible to distinguish between sessions in the session list.
Example: Two sessions opened on branch ACME-00000/version-0-1-10 are both named ACME-00000/version-0-1-10.
Expected behavior
Session names should be unique. When a session name already exists, Claude Code should disambiguate — e.g., by appending a counter ((2), (3)) or a timestamp.
Current workaround
Manually renaming sessions, which shouldn't be necessary.
Environment
- Claude Code on Windows 11
- Multiple sessions opened from the same branch in the same repo
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗