sync¶
Sync development environment and configurations.
Usage¶
Description¶
The sync command ensures your workspace is up to date by cloning/updating repositories and merging configurations. Running sync without a subcommand performs a full sync.
Full Sync¶
A full sync performs all of the following:
- Initializes root git repository if missing
- Creates
README.mdif missing - Clones any missing repositories (standard mode only)
- Merges VS Code configurations (settings, launch, tasks, extensions)
- Syncs cursor rules (generates repo-directories.mdc from multi.json, converts to CLAUDE.md)
- Syncs ruff configurations
- Syncs GitHub Actions workflows to root
.github/workflows(monorepo mode only)
Subcommands¶
| Subcommand | Description |
|---|---|
| sync vscode | Merge VS Code configuration files |
| sync rules | Generate repo descriptions and convert Cursor rules to CLAUDE.md |
| sync ruff | Copy ruff configuration to root |
| sync github | Sync root GitHub Actions workflows for monorepo workspaces |
Examples¶
# Full sync (recommended)
multi sync
# Only sync VS Code configurations
multi sync vscode
# Only sync VS Code settings
multi sync vscode settings
# Only sync cursor rules and CLAUDE.md files
multi sync rules
# Only sync root GitHub Actions workflow files (monorepo mode)
multi sync github
Notes¶
- The VS Code extension can automatically run
multi syncwhen relevant files change - Sync operations are idempotent - running them multiple times is safe
- Use
--verboseto see detailed output during sync multi sync githubis available only whenmonoRepoistrue- Recommended automation path: create/edit
multi.jsonand runmulti sync