

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Still calibrating
click for more info
Not enough gems
Cost: 6 gems
1: Worktrees
incomplete
2: Linked Worktrees
incomplete
3: No Duplicate Branches
incomplete
4: Tracking
incomplete
5: Upstream
incomplete
6: Delete Worktrees
incomplete
This lesson's interactive features are locked, please to keep using them
When you make a commit in a linked worktree, that commit is automatically reflected in the main worktree!
It makes sense: the linked worktree doesn't have a .git directory, so it's not a separate repository. It's just a different view of the same repository.
You can almost think of a linked worktree as just another branch in the same repo, but with its own space on the filesystem.
Run git branch from your main worktree, then answer the question.