[BUG] Session disappear if I switch git branches

Resolved 💬 3 comments Opened Mar 31, 2026 by himanshuprajapati16 Closed May 16, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

The session disappears if I switch git branches.

What Should Happen?

It should still stay

Error Messages/Logs

Steps to Reproduce

Use a session, maybe rename it for better switch. change to different branch, start a new session, try to go back to your session and it won't be there.

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.87

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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