Git · Middle · Question 28 of 75

What problem does git worktree solve?

Explanation

You can review a PR or fix a hotfix in another directory without stashing your current work. All worktrees share one repository and object store.

Further reading

Problem with a question

Git · Middle · question 28

Test yourself

Take the Git · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz