Git · Setup and remotes
git sparse-checkout
Checks out only selected paths in a large monorepo.
Syntax
git sparse-checkout set <paths>Example
Example
git sparse-checkout set app server
More in this group
Learn this in the course
Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.