Articles · Files, backup & privacy

Syncing your vault with Git to a private repo

Markdown is Git-friendly. A `.gitignore`, a private GitHub repo, and a login hook — sync done.

Kition Team·Apr 17, 2026·1 min read

A gitignore template

.kition/cache/
.kition/sessions/
Resources/.thumbnails/
*.tmp

Recommended sync cadence

  • SessionStart hook: pull once
  • Stop hook: commit + push
  • Manual: add a "git: snapshot now" command in the palette

Conflicts

Markdown conflicts are readable; binary .kitable table conflicts are not. Either one editor per table-vault, or export tables to CSV and version those.

Related reading