Repositories

Your organization's GitHub App installation controls which repositories agents can clone and modify. Your personal GitHub connection is separate: it identifies you when you mention @co on GitHub and lets agents open pull requests under your GitHub account.

Setup

Install the GitHub App

As an organization owner or admin, install the GitHub App and select the repositories your team wants to grant access to.

Verify the synced catalog

Open Settings → Repositories to view synced repositories and each repository's default branch. To change a default branch, update it in GitHub and refresh the catalog.

Refresh when repositories change

If a repository is missing, clear active filters, verify the GitHub App's repository access in GitHub, and select Refresh repositories.

Multi-repository environments

When changes span multiple repositories—such as a backend API, shared library, and web client—group them into one environment. An owner or admin can select multiple repositories when creating an environment, or choose Add to environment from any repository's row menu.

In a multi-repository session, name the target repository explicitly in your prompt so the agent edits the right codebase.

Git attribution

Configure how commits and pull requests are authored in Settings → Preferences → Git. Commit attribution and pull request attribution are independent settings:

SettingBehavior
Commit emailThe email address Git records when commits use your identity.
Commit attributionYou and the agent sets you as author and the agent as committer. Only you uses your identity for both. Only the agent attributes both to the agent.
Pull request attributionYou opens PRs with your linked GitHub account when available. The agent opens PRs through the workspace GitHub App.

Troubleshooting

  • Repository not listed: Confirm the repository is included in the organization's GitHub App installation on GitHub, clear any search or filter in Settings → Repositories, and select Refresh repositories.
  • Outdated default branch: Default branches sync from GitHub. Update the default branch in GitHub first, then refresh the catalog.
  • PRs open under the app instead of your account: Check that your personal GitHub account is connected and Pull request attribution is set to You in Settings → Preferences → Git.

Next steps