Skip to main content
Fabricate can push your app’s code to a repository in your GitHub account. The connection is one-way: Fabricate sends your code to GitHub, but commits made on GitHub are not pulled back into your Fabricate project, and there is no automatic sync between the two.
Pushing to GitHub is available on paid plans. See pricing for what each plan includes.

What gets pushed

A push sends your project in one direction:
  • Fabricate to GitHub — your app’s files and commit history are pushed to the repository’s main branch.
  • GitHub to Fabricate — nothing. Commits you or your collaborators make on GitHub do not appear in your Fabricate project, and Fabricate does not watch the repository for changes.
This makes GitHub a good place to keep a copy of your app, review the code, or continue the project in your own tools. It does not make GitHub a second place to edit an app you’re still building in Fabricate.

Pushing your code

1

Open GitHub for your app

In your project, open the More actions menu in the toolbar and choose GitHub, then select Connect GitHub.
2

Name the repository

Choose a repository name, an optional description, and whether the repository is public or private.
3

Push

Select Push to GitHub. If Fabricate isn’t authorized with your GitHub account yet, GitHub asks you to authorize it first.
4

Your code is on GitHub

Fabricate creates the repository in your account, pushes your code to it, and links it to your app.
A push replaces the repository’s main branch with your app’s history from Fabricate. If Fabricate pushes to the same repository again, commits made directly to main on GitHub in the meantime are overwritten. If you work on the code in GitHub, do it on another branch or in a fork.

Pushing vs. downloading

Pushing to GitHub and downloading your code both give you a copy of your app. Neither one brings changes back into Fabricate.

Frequently Asked Questions

No. Your first push creates a new repository in your GitHub account and links it to your app.
You do. The repository is in your GitHub account, and there’s no lock-in. See Exporting Your Code.
No. Changes you make outside Fabricate are not pulled back into your project. To change an app you’re building in Fabricate, describe the change in the chat.
No. Fabricate pushes only when you choose to push, and it does not watch your repository for changes.

Where to Go Next

Export Code

Download your code as a zip.

File Explorer

Browse the code before you push it.