Syncing Workspace Repositories
Use this skill when repository state must be updated.
Workflow
- Confirm active workspace and target project.
- Start with read-only status and fetch where possible.
- Use pull/clone only when required for the current objective.
- Summarize which repositories changed and what remains stale.
Commands
metagit project sync --project <name>- MCP
metagit_workspace_syncfor batch fetch/pull/clone (repos,only_if,dry_run,max_parallel) - MCP
metagit_repo_syncfor a single repository (requiresallow_mutationfor pull/clone) ./skills/metagit-control-center/scripts/control-cycle.sh [root_path] ["query"] [preset]
Output Contract
Return:
- repositories synced
- sync mode used (fetch/pull/clone)
- failures and retry guidance
Safety
- Limit sync to repos defined in
.metagit.yml. - Avoid broad synchronization if only a subset is needed.