Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

Multi-repository projects

A project can hold several repositories, for example an app and the API it calls. Every workspace checks each repository out in its own folder, so one agent can change both sides of a feature in one workspace.

Connect repositories when you create the project

Repositories are connected when the project is created, and stay as they are afterwards. An existing project never gains a repository.
  1. Choose New project. In Create or import, enter the Project name and the first Repository address.
  2. Choose Check repository. GitSpace reads the repository's default branch and how it will reach it, and fills in Base branch.
  3. Under More repositories (optional), enter Another repository address and choose Connect for each additional repository. Each entry shows the folder it gets and its default branch.
  4. Choose Create project.
Each repository after the first must be one GitSpace Cloud reads itself: public, or covered by your GitHub App. Copying a repository in through one of your machines works for a project's first repository only. Each additional repository starts from its origin's default branch.

Workspace layout

ProjectWorkspace layout
One repositoryThe repository is the workspace root.
Several repositoriesThe workspace root is a plain folder, not a Git repository. Each repository sits in its own folder one level down.
A folder is named after the last segment of the repository's address without .git, for example api/ and web/. A second repository with the same name gets -2. A workspace's layout is fixed when it is created.
When you create a workspace in a project with several repositories, Repositories lists each one, all ticked. Untick a repository you don't need in this workspace; it is not checked out. Unticking is not a permission: the workspace's agents can still write every repository of the project. With more than one repository ticked, the workspace starts from the base branch, a branch or another workspace; pull request, tag and commit sources name one repository's object and are unavailable.
Agents pass repositories to space_workspace method create (and MCP clients to workspace.create) to choose the subset, by id: origin for the first repository, then each folder name. Omitted, the workspace checks out every repository.
A machine checks out every repository of the workspace, each in its folder on the workspace's branch. Only machines on a release that supports several repositories receive such a workspace.

How agents work across repositories

A workspace agent's instructions start with its layout: the workspace folder holds no repository itself, and each folder lists the repository it holds. File tools take workspace-relative paths, so the folder selects the repository: api/src/routes.ts. cd sets the default directory for bash and proc.
Agents read each repository's root instructions (AGENTS.md, .agents/instructions.md, or .omp/instructions.md), each headed with the folder it applies to, and the skills each repository defines. When two repositories define a skill with the same name, each becomes <folder>-<name>.
Each repository syncs on its own between the cloud working copy and machine checkouts. Sync conflicts list paths with their folder prefix.

Review and Change Guides

Inspector > Files and the Change Guide compare each repository with its own base branch. When a repository's base branch can't be found, the comparison names the repository and the branch instead of comparing with something else. Diffs and comments on a file are tracked against that file's own repository, so a comment goes outdated only when that repository moves.
A shared Change Guide link covers every repository the guide shows. It is public only when every one of them is public; otherwise the reader signs in with GitHub and must be able to read every repository. A guide shared before this release covers its first repository only; regenerate the share to include the others.

Pull requests and automations

Ship is a phase, not an action: moving a workspace to Ship pushes nothing and opens no pull request. Open a pull request per repository the usual way.
A workspace can be linked to a pull request or issue from any repository of its project. Another repository's link reads owner/name PR #12, and sidebar chips read name#12. Agents and MCP clients pass repository to link and unlink.
The project's GitHub link and its default automations follow its first repository. An automation that starts a workspace for a pull request or issue skips one from another repository; link that workspace yourself instead.

Project settings › Repositories

Project settings › Repositories lists the project's repositories. For a project with several repositories, each shows its Repository, Folder and Base branch, read-only. The origin check rows (Origin, Check origin, Check the origin) apply to the first repository.
For a project with one repository you can change its Repository (for a fork or moved repository) and its Base branch (with your passkey). See Workspace lifecycle.

GitHub access

The Reached row shows how GitSpace reaches a repository:
ReachedMeaning
GitSpace CloudPublic, or through your GitHub App.
Through a machineA machine with your account SSH key fetches it. Origin sync pauses while that machine is offline.
Needs a machineAttach a machine with your account SSH key to sync the origin.
Not reachableInstall or request the GitHub App, or copy the repository in through an online machine.
An SSH origin that isn't on GitHub needs a machine.