Git Sync

Glyph’s built-in sync uses Git. A Space is a local folder, which you can also manage with your own file-sync or backup tools. Glyph does not configure those external services. Open a Space, then go to Settings → Git Sync.

What you need

RequirementSupported
GitSystem Git installed on your computer (the git tool your OS uses in Terminal)
RepositoryThe Space root must be a Git repository. The folder you opened as the Space is the repo root.
RemoteA remote named origin so Glyph can push and pull

If the Space folder is not a Git repo with origin, set that up first. Initialize the repo, add files, commit, and add origin. Glyph drives sync; it does not replace learning those Git basics.

The Connection section shows whether Git is installed, the repository state, and the Branch. Glyph syncs a single branch per space.

Automatic sync

Turn on Automatic sync to sync when the space opens and then on the selected Interval:

  • 5 minutes
  • 10 minutes
  • 30 minutes
  • 60 minutes

The default interval is 10 minutes. Before syncing, Glyph saves the editor so open notes are on disk. Automatic syncs commit with the message Glyph sync.

Shorter intervals keep machines closer together. Longer intervals cut noise if you edit all day on one computer.

Sync Now

Click Sync Now to push and pull without waiting for the timer. Use this after a batch of edits, before you close the laptop, or after you fix a paused auto-sync.

Sync Now follows the same save-then-commit flow as automatic sync.

Turn on Manual commit messages to have Glyph ask for a message before each manual sync. When it is off, or you leave the message empty, Glyph uses Glyph sync.

Conflicts

When local and remote disagree, Glyph resolves the conflict automatically. Under Conflict Resolution → Policy, pick a rule:

  • Local wins: keep your Space’s version
  • Remote wins: take the remote version

The default is Local wins. Local wins protects unpushed writing on this machine. Remote wins favors what already landed on the remote.

What to include

Under Content, toggle whether sync includes:

  • Include templates: the current templates folder
  • Include attachments: your attachments
  • Include non-markdown files

Turn these on if those files should travel with the repo. Leave them off if you keep large binaries or local-only assets out of Git.

Match these toggles to Settings → Space folder choices so you do not sync an empty templates path or skip the attachments folder you use daily.

Pause after failures

If automatic sync fails 3 times in a row, auto-sync pauses. Common causes: no network, bad credentials, missing origin, or a messy merge state.

Fix the problem in Git or your host, then use Resume Auto Sync. Sync Now is a good check after you resume.

Tips

  • Git Sync is per-space. Each Space needs its own repo and origin.
  • Confirm System Git works in Terminal before you debug Glyph sync.
  • Glyph does not sell or host cloud note sync. Your Git host (GitHub, GitLab, your server) is the sync layer.
  • Past versions of a note appear under Version history in the info sidebar when Git history is available.