Worksets
A workset is a named bundle of repos. Instead of adding repos to each new thread manually, you define the bundle once and reuse it.
When to Use Worksets
Section titled “When to Use Worksets”- You work on the same group of repos repeatedly
- You want consistent repo sets across multiple threads
- You’re managing a platform or product with well-defined service boundaries
Register Repos First
Section titled “Register Repos First”Before creating a workset, register the repos you want to include:
workset repo registry add platform git@github.com:org/platform.gitworkset repo registry add api git@github.com:org/api.gitworkset repo registry add frontend git@github.com:org/frontend.gitRegistered repos store the remote URL and default branch globally.
Create a Workset-Backed Thread
Section titled “Create a Workset-Backed Thread”workset new auth-spike --workset platform-core --repo platform --repo apiThis creates a thread under <workset_root>/worksets/platform-core/auth-spike with the platform and api repos.
Reuse the Same Bundle
Section titled “Reuse the Same Bundle”To create another thread with the same repos:
workset new auth-fix --workset platform-core --repo platform --repo apiBoth threads share the same workset definition but have isolated worktrees and branches.
Workset Config
Section titled “Workset Config”Worksets are stored in your global config (~/.workset/config.yaml):
worksets: platform-core: repos: [platform, api] threads: auth-spike: path: ~/.workset/worksets/platform-core/auth-spike workset: platform-core auth-fix: path: ~/.workset/worksets/platform-core/auth-fix workset: platform-coreListing Worksets
Section titled “Listing Worksets”workset config showThis displays the full config including all worksets and their threads.
Repo Overrides
Section titled “Repo Overrides”When creating a thread from a workset, you can override the repo selection:
workset new hotfix --workset platform-core --repo platformThis creates a thread with only the platform repo, even though the workset includes both.
Next Steps
Section titled “Next Steps”- Multi-Repo Workflows for working across repos in a thread
- Config Reference for all workset configuration options