Duplicate session names when multiple sessions share the same git branch

Resolved 💬 1 comment Opened May 26, 2026 by ls-edwin-bekaert 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

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗