Claude Code Worktrees Just Got Native Support (Here's What Changed)

· 8:38
git-worktrees database-isolation rails parallel-agents

Native Git WorkTree support just landed in Claude Code — but it doesn’t give you database isolation. Here’s how to extend it for real Rails projects.

In this video, I walk through how to use Claude Code’s new --worktree flag alongside a custom WorkTreeCreate hook to give each agent session its own isolated database. If you’re running multiple agents in parallel on a Rails app, this is the setup you need.

Want hands-on help with Claude Code?

I offer 1:1 coaching sessions where we work through your actual setup, workflow, and codebase.

Learn about coaching

Get new videos and posts by email

Weekly videos on AI engineering, plus deeper dives in the newsletter.

Occasional emails, no fluff.

Powered by Buttondown