Skip to content

Commands Overview

Multi provides commands for managing your multi-repo workspace.

Available Commands

Command Description
add Add a repository to an existing workspace
collaborator Add, remove, and list recent GitHub collaborators across workspace repos
init Initialize a new multi workspace
sync Sync configurations and repositories
sync github Sync root GitHub Actions workflows (monorepo mode)
set-branch Switch all repos to the same branch
git Run git commands across all repos
doctor Diagnose common workspace configuration issues

Global Options

All commands support:

  • --version - Show version and exit
  • --verbose - Enable detailed logging output

Command Structure

multi [OPTIONS] COMMAND [ARGS]

Examples

# Initialize a new workspace
multi init

# Add another repo to the workspace
multi add https://github.com/org/t-ide-cli

# Add a collaborator to every workspace repo
multi collaborator add octocat --yes

# Choose a recent collaborator username
multi collaborator add --yes

# Sync all configurations
multi sync

# Switch to a feature branch
multi set-branch feature/new-feature

# Pull latest changes in all repos
multi git pull

# Check status across all repos
multi git status

Getting Help

Get help for any command:

multi --help
multi sync --help
multi sync vscode --help