entire:// URL.
This tutorial shows how to create a mirror, use it with Git, and switch your local checkout back to GitHub if you need to.
For a shorter command-line guide, see Mirrors in CLI.
Prerequisites
Before you start, make sure you have:- Entire installed
- Access to clone the GitHub repository you want to mirror
- The Entire GitHub App authorized for the repository
Log In
Log in with the Entire CLI:Check GitHub Access
Before you create or push through a mirror, confirm that the Entire GitHub App can access the repository.- Open GitHub installed apps.
- Find Entire.
- If GitHub shows Permission updates requested, click Review request and approve the update.
- Click Configure for Entire.
- Choose All repositories or select the repository you want to mirror, then click Save.
Create the Mirror
Choose the GitHub repository you want to mirror:owner/repo, an HTTPS GitHub URL, or an SSH GitHub URL. By default, Entire creates the mirror on aws-us-east-2.entire.io and waits until the initial clone is available.
To create the mirror in another region, pass the cluster host as the second argument:
Clone or Add the Mirror Remote
To clone the mirror into a new checkout, use the URL printed byentire repo mirror create:
origin remote at the mirror:
.git/config. They do not create or delete the server-side mirror.
Verify the Mirror
Run normal Git commands through the configured remote:Push Through the Mirror
Create a test branch, make a small change, then stage and commit it:Restore the GitHub Remote
If you pointedorigin at the mirror and want to switch back to GitHub, set the remote URL back to your original GitHub URL:
Remove the Mirror
When you no longer need the mirror, remove the server-side mirror placement:.git/config.
Troubleshooting
unknown command "repo"
unknown command "repo"
Your
entire binary may be older than the mirror commands. Update Entire from the updating guide, then try again.403: Write access to repository not granted
403: Write access to repository not granted
If
git push reaches the Entire mirror but GitHub rejects the forwarded push, check the Entire GitHub App permissions.Open GitHub installed apps, find Entire, review any pending permission update, and make sure the app can access the repository you mirrored.Then refresh your Entire login:Mirror creation takes a while
Mirror creation takes a while
The default create command waits for the initial clone to appear on Entire. For large repositories, that can take time.If you only need to register the mirror and check back later, use
--no-wait:Git cannot reach the mirror
Git cannot reach the mirror
If Git cannot reach the If it keeps failing, check your network connection and try again.
entire:// remote, retry the command first: