Concepts
Workspace
A workspace is a directory with workset.yaml and .workset/ state. It captures intent: “these repos move together.”
<workspace>/
workset.yaml
.workset/
<repo>/
Repo sources
- Local paths stay put and are referenced by absolute path.
- URL repos are cloned into
~/.workset/repos(configurable) and marked asmanaged: true.
Worktrees
Worktrees live under <workspace>/<repo> by default, keeping your main clones clean and stable.
Tip
This makes branch work fast and isolated without duplicating repositories.
Repo defaults
Repo aliases define the remote name and default branch for a repo. If an alias omits them, Workset falls back to defaults.remote and defaults.base_branch.
Templates (groups)
Templates are reusable repo sets stored in global config. Apply a template to a workspace to bring in a known set of repos quickly.