Dyad LogoDyad

GitHub

Learn how to sync your code to GitHub

Dyad has built-in integration with GitHub, making it easy to push your local changes to a GitHub project.

For step-by-step instructions, see the Publishing your App guide.

Git tools

For most use cases, you don't need to use other Git tools—Dyad handles the core workflow. But for advanced workflows, you may want to use one of the tools below.

GitHub Desktop

GitHub Desktop is a great option for beginners, as it provides a user-friendly desktop interface for using Git.

Git CLI

The Git CLI is suited for power users who are comfortable with the command line and have more complex Git workflows.

Troubleshooting

Why do I get an error when I sync changes?

There's a few different reasons why syncing changes can fail. Please follow the instructions based on the error message that you get.

Why can't I connect my Dyad app to an existing repo?

Dyad encourages you to create a new GitHub repo to avoid sync issues like the one above.

If you just want to reuse the name of an existing repo, consider renaming or deleting that repo so Dyad can create a new one with the same name.

If you really want to sync to an existing GitHub repo, you can use a Git tool, but this is more advanced.

I can't access all my GitHub repos

When you first connect Dyad to GitHub, you grant access to specific GitHub organizations. If you want to add access to more orgs later:

  1. Go to the Settings page.
  2. Under the Integrations section, click Disconnect from GitHub (red button).
  3. Reconnect to GitHub and grant access to the desired organizations.

On this page