Coffer

Branches

A branch is a second line of your vault's history. A device on a branch has the branch's files and syncs with the other devices on it. Your other devices carry on with the main line as if nothing happened. Later you merge the branch back, or close it and drop what it changed.

Use one to try something large without doing it to every device at once: reorganise folders, rename a hundred notes, clean out an archive. Look at the result on one device for a few days, then merge it or throw it away.

Stored data is shared between lines, so a branch costs only what changes on it.

Before the first branch

A vault has to be upgraded once before it can have branches. Coffer offers this when you start the first one. After the upgrade, a version of Coffer before 0.12.0 refuses to open the vault and asks to be updated, because its cleanup would delete data a branch still needs. So Coffer upgrades only when every device that syncs the vault has reported a version with branches. Update Coffer on each device and sync once; a device that is gone for good can be forgotten under Settings → Coffer → Devices.

The upgrade cannot be undone. Nothing else about the vault changes, and a vault you never upgrade works exactly as before.

Use a branch

Run Branches: start, switch, merge or close, or open Settings → Coffer → Devices → Branches.

The status bar names the branch a device is on, and the device list says which line each device is on.

Good to know

From the command line: branch, branch start <name>, branch switch <name|main>, branch merge <name> [--dry-run], branch close <name> and upgrade. See Command line.