Why multi-repo support matters
Instead of juggling multiple terminal windows, VS Code workspaces, and context switching between repos, p0 treats your entire project as a unified workspace:- Unified AI context - Claude sees your full stack, not just one repo
- Cross-repo refactoring - Update API contracts and frontend clients together
- Shared standards - Apply consistent coding standards across all repositories
- Atomic sessions - Work on features that span multiple repos in one session

Adding repositories
You can add repositories to your workspace in two ways:During workspace creation
In the workspace creation wizard, the “Add repositories” step lets you browse and select GitHub repositories. You can:- Search your GitHub organizations
- Select multiple repos at once
- Preview repository details before adding

From workspace settings
To add repositories after workspace creation:- Open workspace settings (gear icon or
Cmd+,) - Navigate to the “Repositories” tab
- Click “Add Repository”
- Select repos from GitHub or paste a Git URL
- p0 clones the repo into your workspace

Cross-repo context
When you start a session in a multi-repo workspace, Claude has access to all repositories. This enables powerful cross-repo operations: Example: API contract changes You ask Claude to add a new field to a user endpoint. Claude:- Updates the API schema in
backend-api/src/models/user.ts - Modifies the API route handler
- Updates the TypeScript types in
frontend/src/types/api.ts - Adjusts UI components that display user data
- Updates the component in
design-system/src/Button.tsx - Identifies all usages in
web-app/andadmin-portal/repos - Updates import paths and prop usages across both consuming apps
- Updates documentation in the design system
Worktree mappings
When you start a session, p0 creates a worktree for each repository in your workspace. This allows you to work on feature branches without affecting your main working directories.Worktree structure
Each session gets its own worktree directory:How worktrees work
- Isolated branches - Each repository gets its own feature branch for the session
- Independent commits - Changes to each repo are committed separately
- Shared workspace config - The
purple/and.claude/directories are symlinked, so standards and session context are shared - Auto-cleanup - Worktrees are cleaned up when sessions end (branches can be preserved or deleted)

Each repository in the workspace gets its own git worktree branch. This means you can have
feature/add-auth in your frontend repo and feature/add-auth in your backend repo—both managed in the same p0 session.Repository management
From workspace settings, you can:- View all repos - See connected repositories, their remotes, and current branches
- Add repos - Connect new repositories to the workspace
- Remove repos - Disconnect repos (workspace copy is preserved)
- Update remotes - Change Git URLs if repos are moved
- Sync status - See which repos have pending changes or sync issues

Best practices
Keep related repos together
Keep related repos together
Use consistent branch naming
Use consistent branch naming
Use the same feature branch name across repos when working on multi-repo features. This makes it easier to track related changes.
Apply shared standards
Apply shared standards
Leverage session isolation
Leverage session isolation
Work on different features in separate sessions, even within the same workspace. Each session creates isolated worktrees.