Git Bridge — Multi-PC Sync Setup Guide

Truenex Memory Pro includes Git Bridge, which lets you sync your memory database across multiple PCs using any Git remote (GitHub, GitLab, Gitea, or your own server).

Prerequisites

Step 1 — Generate an SSH key on each PC

On every PC you want to sync, open PowerShell and run:

ssh-keygen -t ed25519 -C "my-pc-name"

Press Enter three times to accept defaults.

Read the public key:

Get-Content :USERPROFILE\.ssh\id_ed25519.pub

Copy the entire line starting with ssh-ed25519.

Step 2 — Add the key to your Git provider

Go to your Git provider's SSH key settings:

Click New SSH key, paste the public key, give it a title (e.g. "Office PC"), and save.

Repeat for every PC.

Step 3 — Initialize Git Bridge on each PC

On each PC:

truenex-mem git init
truenex-mem git remote add origin [email protected]:YOUR_USER/YOUR_REPO.git

Replace YOUR_USER/YOUR_REPO.git with your actual repository SSH URL.

Step 4 — Sync

First PC (push)

truenex-mem git push

Second PC (pull)

truenex-mem git pull

The first time you connect, SSH will ask:

Are you sure you want to continue connecting (yes/no)?

Type yes and press Enter.

Step 5 — Ongoing workflow

Whenever you want to sync:

truenex-mem git push   # on PC with new data
truenex-mem git pull   # on the other PC

Troubleshooting

"Permission denied (publickey)"

Your SSH key is not added to the Git provider, or the remote URL is HTTPS instead of SSH. Fix:

truenex-mem git remote remove origin
truenex-mem git remote add origin [email protected]:YOUR_USER/YOUR_REPO.git

"refusing to merge unrelated histories"

If you initialized Git Bridge on two PCs independently before connecting them, run once manually:

cd :USERPROFILE\.truenex-memory\sync
git pull --allow-unrelated-histories origin master

Then use truenex-mem git pull normally.

Security Notes