У нас вы можете посмотреть бесплатно Claude Code Worktrees Just Got Native Support (Here's What Changed) или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
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. --- What you'll learn: What native Claude Code WorkTree support does (and where it falls short) How the WorkTreeCreate hook works and when it fires How to write a setup script that creates per-worktree databases with unique names How to use the WorkTreeRemove hook to clean up databases automatically Why these patterns apply beyond Rails to any app with external state --- Watch next: Git Worktrees for AI Agents (the original script approach) → • Claude Code Git Worktree Setup: Run Multip... --- Resources mentioned: WorktreeCreate hook source → subscribe to get it: https://www.damiangalarza.com/newslet... Claude Code docs: https://docs.anthropic.com/claude-code --- → Running Claude Code on a real codebase? I help engineering teams set up exactly these kinds of workflows: https://www.damiangalarza.com/claude-... → Newsletter — practical AI without the hype: https://www.damiangalarza.com/newslet... --- Timestamps: 0:00 - Intro 0:16 - What Git WorkTrees are and why agents need them 1:08 - What Claude Code's native WorkTree support does 2:10 - The .worktree include file 2:42 - Multiple entry points (CLI, mid-session, sub-agents) 3:11 - Where native WorkTrees fall short for Rails 3:52 - True isolation: what it actually requires 4:09 - The WorkTreeCreate hook 4:57 - Hook configuration in settings.json 5:22 - Walking through the setup script 6:35 - Demo: running the hook 6:56 - Running specs with full isolation 7:01 - Cleaning up: WorkTreeRemove hook 7:38 - These patterns work beyond Rails 7:56 - Outro --- Work with me: 1:1 Coaching (Claude Code, agent architecture, AI workflows): https://www.damiangalarza.com/coachin... All services: https://www.damiangalarza.com/services --- About me: I'm Damian Galarza — Senior Software Engineer at August Health, building AI systems in production. Previously CTO at Buoy Software where I scaled a team from 0 to 50+ and shipped FDA-cleared software. I make practical AI engineering content on agent architecture, LLM applications, and production AI systems. Connect: LinkedIn: / dgalarza X: https://x.com/dgalarza Blog: https://www.damiangalarza.com #ClaudeCode #AIEngineering #GitWorktrees #claudecodetutorial