Two Claude Code sessions in one repo can trip over each other's edits. Give each its own git worktree:
claude --worktree feature-auth
New branch, own folder under .claude/worktrees/. Another name in a second terminal = a second isolated session. -w for short.
#ClaudeCode #git
Two Claude Code sessions in one repo can trip over each other's edits. Give each its own git worktree: claude --worktree feature-auth New branch, own folder under .claude/worktrees/. Another name in a second terminal = a second isolated session. -w for short. #ClaudeCode #git
0 vue
Publié le 23/11/2026 01:59
0:14
Two Claude Code sessions in one repo can trip over each other's edits. Give each its own git worktree:
claude --worktree feature-auth
New branch, own folder under .claude/worktrees/. Another name in a second terminal = a second isolated session. -w for short.
#ClaudeCode #git
Exit with changes and Claude asks: keep or remove.
code.claude.com/docs/en/work...