Skip to main content

What Is an Entire Repository?

An Entire repository lives on Entire’s Git network with no GitHub origin, so you can push and pull through a region close to where you work: the US, the EU, India, or Australia. When you mirror a repository instead, GitHub stays the origin and Entire serves clones and pulls.
On mirroring, Entire serves reads but still sends pushes back to GitHub. Those pushes depend on GitHub’s speed and availability. With an Entire repository, both reads and writes stay on Entire.

How Are Entire Repositories Helpful?

Entire repositories help you:
  • Keep working when GitHub is down. Since your code lives on Entire, your agents can clone, pull, and push without GitHub.
  • Have faster read access for your agents. Since agents pull and push a lot more than humans, Entire repositories make the development lifecycle faster by being geographically close to you and your agents.
  • Work from a single remote. You can push to and pull from the same Entire remote. If you use a regional mirror, Entire forwards your pushes to the primary region.

Create an Entire Repository

You can create an Entire repository both from the CLI, on entire.io, or by asking your coding agent to do it.
Before you start, install the Entire CLI and log in with entire login.

1. Create a Project

A project holds your repositories. Choose an available project name and specify its owner. This example uses readme; replace it with your project name throughout the commands and replace nodo with your organization’s name:
Example output:
If you already have a project, use its name in the next step. See the project command reference for other ownership options.

2. Create a Repository

Create a repository named documentation in your project:
Example output:
By default, Entire creates the repository in the project’s region. In this example, the primary region is aws-us-east-2.

3. Check the Repository’s Regions

Inspect the repository to see its regions, clone URLs, and status:
Example output:
At this point, the repository is available in one region, marked primary. You can clone, pull, and push without adding a mirror.

4. Add a Mirror in Another Region (Optional)

To add a mirror, select a region close to you or your agents. For this example, select eu-central:
Example output:
The repository now spans two regions: a primary in aws-us-east-2 and a mirror in aws-eu-central-1.