Use Git Worktrees for Concurrent Work
Mid-way through Helm edits, Bob's commit breaks the staging probe. Fix it in a second working tree on the team's latest main — without stashing or disturbing your Helm work.
Project labintermediate~25 minPro
What you'll do
- ✓Add a worktree on a new branch
- ✓Commit and push from a second worktree
- ✓Remove a worktree cleanly
- ✓Explain what worktrees share
Lab outline
- 01Worktree
- 02Hotfix
- 03Remove
Before you start
- Stash (git-10), fetching (git-16)
Every lab runs on a real machine of your own in the browser — no installs, nothing to clean up — and checks your work automatically as you go.