Claude
They store past sessions inside ~/.claude/projects/
Use this:
New features:
Use the api key: https://www.reddit.com/r/ClaudeAI/comments/1jwvssa/claude_code_with_api_key/
Since recently, they’ve always added more worktrees which is great
# Start Claude in a worktree named "feature-auth"
# Creates .claude/worktrees/feature-auth/ with a new branch
claude --worktree feature-auth
# Start another session in a separate worktree
claude --worktree bugfix-123
# Create a worktree with a new branch
git worktree add ../project-feature-a -b feature-a
# Create a worktree with an existing branch
git worktree add ../project-bugfix bugfix-123
Failures
There was a bug, the string was wrong, i said it was a hack, so it did an entire data migration.