Skip to main content
Bluvy Tube
Press Esc to exit fullscreen
Volume m
/
i
Theater mode t
f
/
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

Keyboard shortcuts

Space K
Play / pause
← →
Back / forward 5 s
J L
Back / forward 10 s
0–9
Jump to 0%–90% of the video
Home End
Start / end
, .
Previous / next frame (while paused)
< >
Slower / faster
↑ ↓
Volume
M
Mute / unmute
C
Captions
F
Fullscreen
I
Picture-in-picture
T
Theater mode
?
Show this help

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 views Published on 23/11/2026 01:59 0:14
#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
1 comment
?
0x99M @0x99m.com · 23/11/2026 01:59
A worktree is a fresh checkout, so your .env isn't in it. List gitignored files in a .worktreeinclude at the repo root and they get copied into each new worktree.

Exit with changes and Claude asks: keep or remove.

code.claude.com/docs/en/work...
Run parallel sessions with worktrees - Claude Code Docs
Isolate parallel Claude Code sessions in separate git worktrees so changes don't collide. Covers the --worktree flag, subagent isolation, .worktreeinclude, cleanup, and non-git VCS hooks.
View original post on Bluesky
Link copied to clipboard

Sign in

Time to take a break

You've been watching videos for 30 minutes straight: give yourself 5 minutes away from the screen. Stand up, stretch, grab a glass of water… Your videos will be right here when you're back.