Skip to content

Back Up to GitHub

Your projects are real code, and they’re yours — push them to your own GitHub account whenever you like.

Sync to Plyed and GitHub backup both use Apple’s git tool. The first time on a new Mac, you may see a system prompt to install the command line developer tools — see Install & Sign In.

Git — connect GitHub, pick a branch, push a snapshot.

Click the branch name in the top bar to open Branches. Its Git settings screen has two tabs:

  • Plyed — on by default. Signed-in projects sync to a Plyed-hosted remote with no setup: no token, no repository to create. This is what keeps a project’s history safe and lets features like cloud agent runs work with your code. There’s nothing to configure here beyond picking a branch name and hitting Sync to Plyed.
  • GitHub — push to a repository in your own account instead. The rest of this guide covers that tab.

Choose Link your GitHub, then Connect in Account → Connect accounts. The GitHub row shows what Plyed found on your Mac:

  • Logged in on this Mac: you already use the GitHub CLI (gh). Choose Use this login; Plyed reads the token from gh, so there is nothing to paste.
  • Not logged in: choose Log in. GitHub’s own login opens in your browser; finish there and Plyed connects when it is done.
  • Not installed: choose Install. Plyed downloads GitHub’s official CLI into its own folder (nothing else on your Mac changes), then you can log in.

Prefer a token? Choose Use a token instead, follow the personal access token link (it opens GitHub with the repo scope pre-filled), generate the token, paste it in and choose Connect.

The connection is stored privately on your machine. Disconnect in Account → Connect accounts removes it — this only affects the GitHub tab; syncing to Plyed keeps working.

With the GitHub tab open:

  1. Check the repository name — it defaults to plyed-<project-name> so your Plyed projects group together in your account. Change it if you like.
  2. Pick the branch to push. Push to GitHub (the button names the branch) pushes the branch you’re on. To push something else, return to Branches, choose New branch, enter a name and choose Create branch (say client-review or v1), or click one of your local branches. Pushing a branch never touches the others.
  3. Push to GitHub. The repo is created private under your account if it doesn’t exist, your current files are committed to the current branch, and everything is pushed. You get a link to the repo when it’s done.

Push again any time you want a new snapshot — unchanged projects just confirm the push, no empty commits. Using a branch per milestone gives you named versions you can always go back to on GitHub. A branch that exists only on GitHub can’t be checked out until it’s on your Mac — pull or fetch it first. Each branch row describes where it is available, such as Only on this Mac or On this Mac and on GitHub.