Sparse Checkout
The Sparse Checkout tab manages git’s sparse checkout feature (cone mode), which lets you check out only specific directories. This is especially useful for large monorepos. This tab appears as a mode within Git Settings.
Status
The status section shows:
- Enabled/Disabled badge
- Cone Mode badge (if active)
- Directory count — how many directories are included
- Enable/Disable toggle button
Enabling Sparse Checkout
Click Enable to initialize sparse checkout in cone mode. Your repository will switch to a minimal checkout with only the directories you select.
Disabling Sparse Checkout
Click Disable to check out all files again. A confirmation warning is shown since this may download significant data in large repos.
Managing Directories
When sparse checkout is enabled, the included directories section shows:
- A list of currently checked-out directories, each with a Remove button
- A directory tree picker for adding new directories
- Subdirectories load lazily as you expand the tree
- Use checkboxes to select which directories to include
- Click Add to apply your selections
Conflict State
Sparse checkout operations are disabled during merge or rebase conflicts.