Skip to content

What in the vault does obsync actually track? #8

Description

@andyroberts2

Part of #1

Question

What in the vault does obsync actually track?

An Obsidian vault contains far more than notes, and some of it churns constantly or does not belong in git at all.

To decide:

  • .obsidian/. Genuinely contested. workspace.json / workspace-mobile.json are rewritten on every pane focus and must be excluded. But whether the rest — app.json, appearance.json, core-plugins.json, community plugin code, and plugins/*/data.json — should be tracked is a real judgement call, and plugin data can contain secrets.
  • .trash/. Almost certainly excluded; confirm.
  • Attachments, and whether git-LFS is in scope. Vaults accumulate images and PDFs. Git handles large binaries badly, kubernetes/git-sync has no LFS support at all, and GitHub bills LFS bandwidth. This may be the decision that reshapes the design most.
  • Ship a default .gitignore, or require the user to bring one? If obsync ships one, what happens when the vault already has one.
  • The untracked-file gate. simonthum/git-sync refuses to run if any untracked file exists unless explicitly opted in, precisely to stop accidental commits of junk or secrets. Whether obsync adopts anything like this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions