Skip to main content
A GitHub repository is a folder that stores your project’s code. A branch is one line of work inside that repository, and a commit is a saved set of changes on the branch. GitHub sync keeps the connected branch in step with your Enter project so you can work on the same code in Enter and in outside developer tools.

Before you start

You need:
  • A paid plan.
  • A GitHub account with access to the repository or organization.
  • A workspace Owner or Admin to add the GitHub authorization. GitHub may ask an organization to approve it.

Connect a repository

Step 1 · Open GitHub settings

Open the project title menu, click Settings, and choose GitHub.
Enter project GitHub settings showing the Project Repository section

Project Repository appears at the top when you open GitHub settings from the project title menu.

Step 2 · Choose the account

Under Project Repository, click Connect. Pick an Organization / Account. If yours is missing, add it and finish the GitHub authorization.

Step 3 · Choose the repository and branch

Choose New Repo, or Existing Repo with a new branch. Select or name the repository, type an unused, valid branch name, and click Connect.
GitHub connection form with account, repository, and branch fields

Account, repository, and new branch name.

Before you confirm, check the account, repository, branch name, and whether the repository is public or private. Remove passwords and keys from the code before you make a repository public.

How sync works

Sync goes both ways:
  • Enter sends your project’s code to the connected branch.
  • Commits on that branch can come back into Enter. Commit and push edits from your own computer to GitHub first.

Check that a change arrived

Check the sync status.
  1. Find the expected commit on the connected GitHub branch.
  2. Check the change in the Enter Preview.
  3. If a change is missing, compare the branch names, then read any Push Failed or Pull Failed message.
  4. After a merge, review the result before you keep working in both places.
Sync is not publishing. Sync updates code; publishing updates your live app. When the preview works, publish or update the site, then open the live address to check it.

Limitations

  • Enter always starts a new branch. It does not continue on an existing branch.
  • Project code sync is separate from the GitHub connector in the app catalog. Setting up one does not set up the other.

Troubleshooting

Add it and finish the GitHub authorization. See Step 2.
Commit and push them to GitHub first. Enter can only receive commits that are on the connected branch.
Review the result before you keep working in both places.

Common questions

No. You can choose a new repository or an existing repository, but Enter always creates a new branch and does not continue on an existing branch.
GitHub sync moves project code both ways on the connected branch. It does not sync database records, hosted-service settings, or a downloaded ZIP.
Commit and push outside edits to the connected branch first. Enter can then bring those commits into the project; if changes conflict, it keeps both versions while merging, so review the result before you continue in both places.
No. Sync updates code, while publishing updates the live app.

Keep going

Next: Publish your site
Sync updates the code. Publish to update your live app.

Set up and manage connectors

The app-catalog GitHub connector is a different feature.

Download and export your code

Take a one-time copy of your code.

Fork a project

Start a new project from your code.