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.
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.
Account, repository, and new branch name.
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.- Find the expected commit on the connected GitHub branch.
- Check the change in the Enter Preview.
- If a change is missing, compare the branch names, then read any Push Failed or Pull Failed message.
- After a merge, review the result before you keep working in both places.
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
My account is not listed under Organization / Account
My account is not listed under Organization / Account
Add it and finish the GitHub authorization. See Step 2.
My edits from my own computer do not show in Enter
My edits from my own computer do not show in Enter
Commit and push them to GitHub first. Enter can only receive commits that are on the connected branch.
The status says Merging
The status says Merging
Review the result before you keep working in both places.
Common questions
Can Enter connect to an existing GitHub branch?
Can Enter connect to an existing GitHub branch?
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.
What does GitHub sync include?
What does GitHub sync include?
GitHub sync moves project code both ways on the connected branch. It does not sync database records, hosted-service settings, or a downloaded ZIP.
How are changes from GitHub merged into Enter?
How are changes from GitHub merged into Enter?
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.
Does syncing code publish my app?
Does syncing code publish my app?
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.
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.
