Using GIT worktree to supercharge your development experience
summary
Demonstrates using git worktree to run multiple checkouts side‑by‑side so long test runs (two to four hours) don’t block development, showing git worktree add/list/remove/prune and git branch -vv in action, and integrating with GitLens to create and open worktrees from VS Code. Reports keeping about ten simultaneous worktrees, avoiding repeated clones and stash commits, explains the untracked‑file caveat and the prune lifecycle, and shows forced removal when a worktree contains uncommitted files.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 2:06What is Git
- 4:11Git worktrees basics
- 5:36Worktrees beyond branches
- 8:13Five Git worktree commands
- 10:39Live demo
- 17:21Long-running tests with worktrees
- 20:30Worktrees in VS Code
- 26:12Worktrees in Git Lens
- 27:37Cleaning worktrees
- 28:42Answering audience questions
- 29:47Recap
- 31:13Resources
related talks
01h 22mGit-ting along with others
36mThe Git Commands I Avoided for 9 Years (and Why I Wish I Hadn't)
04mWorkflow hacks for developers
43mGit stories from the front line
49mBeyond git add/commit/push
19m20 mins to git comfortable
24mSo you think you know GitAdvanced Git Tips and Tricks
28mHow to Really Get Git
