oh-my-space
v3.0.0
Published
CLI for managing multi-repository workspaces with independent Git clones.
Maintainers
Readme
oh-my-space
oh-my-space (OMS) is a small CLI for managing multi-repository workspaces with independent Git clones. Share one repository list with your team and keep your own source branches on each computer.
Who it helps
Use OMS when you:
- develop one product across several repositories and need adjacent checkouts.
- need branch, commit, pull, and push workflows that avoid accidental detached checkouts.
- use AI coding tools that need a clear boundary between the main project and source repositories.
OMS provisions missing repositories without moving existing checkouts. The workspace root tracks the repository list, not the exact source commits.
Requirements
- Node.js
^24 || >=26 - Git
>=2.40 - A Git repository with
oms.yamlat its top level before you clone repositories
Node 24 is the minimum supported line and the development, release, and required CI baseline. Node 26 and later are permitted, but not every future version is verified. Node 20, 22, and 25 are no longer supported; upgrade Node before installing the next major OMS release. CI also runs a separate, non-gating latest-runtime diagnostic.
Install
Install the oms command globally with your package manager:
npm install -g oh-my-space
# or: pnpm add -g oh-my-space
# or: yarn global add oh-my-space
# or: bun install -g oh-my-spaceQuick start
Create a manifest at your project root:
oms initDeclare one repository in oms.yaml:
# yaml-language-server: $schema=https://raw.githubusercontent.com/divlook/oh-my-space/main/oms.schema.json
repos:
- alias: api
remotes:
origin: [email protected]:example/api.git
branch: main # optional; defaults to the remote's default branchClone the declared repositories:
oms clone --allInspect its state:
oms statusThe source repository is now available at oms/api/. Commit oms.yaml in the root to share the declaration. See Getting started to complete your first branch, commit, and push.
Upgrading an existing workspace? Follow Migrate from OMS 2.x to 3.0.0 before cloning over any old source location.
Documentation
- Getting started: Read for workspace setup and your first source change.
- How OMS works: Read for layout, repository boundaries, managed trees, status, safety, and recovery.
- Commands: Read to choose a command and Git scope. Use
oms <command> --helpfor exact arguments, options, and exit behavior. - Configure your workspace: Read to define repositories, remotes, and starting branches in
oms.yaml. - AI coding tools: Read to install agent instructions and workspace skills that preserve repository boundaries.
- Migration guides: Read for version-specific upgrade instructions.
- Development: Read to build, test, or contribute to OMS.
- Release channels: Read to install stable or beta releases or maintain npm release channels.
