Skip to content

lo set

Switch the sources of a workspace’s repos, or where a service, resource or external part runs, and keep the data.

Terminal window
lo set <workspace> [service=ref|repo=ref|service=<path>|service=remote:<name>|service=<url>|part=workspace:<name>|part=auto ...] [flags]
Option Description
--attr strings unit.attribute=value for the remote of a service or resource, repeatable.
--force Replace owned worktrees even with uncommitted or unpushed work.