Practice - 5 Tasks
Answer the questions below
1fill in blank
easyComplete the command to list all Git worktrees.
Git
git worktree [1] Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'git show worktree list' which is invalid.
Using 'git status worktree' which shows status, not worktrees.
✗ Incorrect
The command git worktree list shows all the worktrees linked to the repository.
2fill in blank
mediumComplete the command to list worktrees with their paths.
Git
git worktree [1] Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'git worktree add' which adds a new worktree.
Using 'git worktree prune' which cleans up stale worktrees.
✗ Incorrect
git worktree list shows all worktrees and their paths.
3fill in blank
hardFix the error in the command to list worktrees.
Git
git [1] list Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'git worktrees list' which is invalid.
Using 'git status list' which does not list worktrees.
✗ Incorrect
The correct command uses worktree (singular), not worktrees.
4fill in blank
hardFill both blanks to complete the command that lists worktrees with detailed info.
Git
git [1] [2]
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'git list worktree' which is invalid order.
Using 'git worktree status' which does not list worktrees.
✗ Incorrect
git worktree list lists worktrees with detailed information like paths and current branches.
5fill in blank
hardFill all three blanks to create a command that lists worktrees with verbose output.
Git
git [1] [2] [3]
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using '--branch' instead of '--verbose'.
Using 'git list worktree --verbose' which is invalid.
✗ Incorrect
The command git worktree list --verbose lists worktrees with verbose (detailed) output.