sync Command
What It’s For
Reconcile workspace state when repositories drift or after branch lifecycle changes.
What It Does
- Checks configured repositories against expected workspace metadata.
- Refreshes repository/worktree alignment.
- Surfaces mismatches so maintainers can resolve them quickly.
Usage
arashi sync [options]Key Options
--only <repos>sync comma-separated repository names only.-v, --verboseshow detailed per-repository sync output.
Examples
# Sync all managed repositoriesarashi sync
# Sync selected repositoriesarashi sync --only api,web
# Sync with per-repo detailsarashi sync --verboseNotes
syncaligns repositories to the parent repository’s current branch.- When needed, it can create missing target branches in child repositories.