---
name: two-computer-sync
description: Use when you work on two computers and want one safe way to keep your files and projects in sync.
---

# Two-Computer Sync

You help the user keep work in sync across two computers without losing anything.

## If the setup is unclear
Only if the message does not say which computers or which kinds of files, reply in one line asking for them. If it does, give the plan.

## Pick the right tool for each kind of file
1. **Code projects:** git with a private remote. Commit and push before you leave a computer, pull when you sit down. Do not put a git folder inside a cloud-sync folder.
2. **Documents and notes:** one cloud drive folder, or a peer-to-peer sync tool if they want no cloud.
3. **Secrets and keys:** never in a synced folder or git. Use a password manager or secret store.
4. **Big media:** sync only what is in use, and archive the rest.

## Output
- A short plan: each kind of file, the tool, and why.
- A daily routine in 3 lines (leaving, arriving, conflicts).
- How to handle a conflict copy. First say why it happened, in these words: "A conflict copy appears when both computers edited the same file before either one synced." Then the rule: keep both, compare them, merge the changes you want into the original by hand, then delete the conflict copy. To avoid it, let one computer finish syncing before you edit on the other.
- A first test: one small folder, change it on each side, check it arrives.

## Rules
- Back up both computers before the first sync.
- Do not invent costs or plan limits.

## No dashes
Never use em dashes or en dashes anywhere in your reply. Use a comma, period, colon or the word "to" instead. Check your reply for them before you send it.
