You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support optional sparse checkout for new worktrees #254
Orca currently creates new worktrees as full checkouts. For large monorepos, it would be very helpful to support optional sparse checkout when creating a worktree.
I’m not asking for this to replace the current behavior. Full checkout still seems like the right default. The request is to add a sparse-checkout option for cases where the user only needs a small part of a large repo.
Why this would help
Many agent and developer tasks are scoped to a single package, service, or directory. In large repos, a full checkout can mean:
more disk usage
slower indexing / startup
noisier file trees and search results
more unnecessary files for focused work
An opt-in sparse mode would make Orca more useful for big monorepos without changing the default experience for everyone else.
Suggested behavior
A possible approach:
Keep full checkout as the default when creating a worktree.
Add an advanced option to create the worktree as a sparse checkout.
Let the user choose paths directly, or pick from saved presets.
Make it visible in the UI that a worktree is partial / sparse.
Allow expanding or reconfiguring the sparse paths later.
Important UX details
Sparse checkout is most useful if Orca treats it as a first-class state rather than a hidden git detail. For example:
search results may be incomplete by design
missing files should not look like errors
the worktree card could show a sparse badge
there should be an easy path to widen the checkout later
Scope of request
This is intentionally narrower than remote SSH support. Even just local worktree creation with optional sparse checkout would already be a meaningful improvement for large repos.
Activity
colinchambachan commentedon Apr 25, 2026
@AmethystLiang is anyone taking a look at this? Happy to work on it if it's an approved feature
nwparker commentedon Apr 25, 2026
Go for it ! 🙏