Promote daily-notes.json to global config
daily-notes.json is now shared across vaults; vault-specific set is just bookmarks.json. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ASYabtTgxSxJPjxPmBK9PJ
This commit is contained in:
@@ -22,8 +22,8 @@ vault/.obsidian ──submodule──► obsidian-config (per-vault, downstream)
|
|||||||
|
|
||||||
| Tier | Examples | Lives in |
|
| Tier | Examples | Lives in |
|
||||||
|---|---|---|
|
|---|---|---|
|
||||||
| **Global** (shared everywhere) | `app.json`, `appearance.json`, `hotkeys.json`, `templates.json`, `core-plugins.json`, `community-plugins.json`, `types.json`, `themes/**`, plugin code, most plugin `data.json` | global upstream → flows to every vault |
|
| **Global** (shared everywhere) | `app.json`, `appearance.json`, `hotkeys.json`, `templates.json`, `daily-notes.json`, `core-plugins.json`, `community-plugins.json`, `types.json`, `themes/**`, plugin code, most plugin `data.json` | global upstream → flows to every vault |
|
||||||
| **Vault-specific** (synced, never published) | `bookmarks.json`, `daily-notes.json` | per-vault repo only — never pushed upstream |
|
| **Vault-specific** (synced, never published) | `bookmarks.json` | per-vault repo only — never pushed upstream |
|
||||||
| **Machine-local** (not synced) | `workspace.json`, `workspaces.json`, `workspace-mobile.json`, `.DS_Store` | gitignored everywhere |
|
| **Machine-local** (not synced) | `workspace.json`, `workspaces.json`, `workspace-mobile.json`, `.DS_Store` | gitignored everywhere |
|
||||||
|
|
||||||
## Daily workflow
|
## Daily workflow
|
||||||
@@ -64,7 +64,7 @@ git -C /path/to/obsidian-global-config push
|
|||||||
|
|
||||||
## Which files are vault-specific
|
## Which files are vault-specific
|
||||||
|
|
||||||
The current list is `bookmarks.json` and `daily-notes.json`. To make a plugin's settings
|
The current list is just `bookmarks.json`. To make a plugin's settings
|
||||||
vault-specific, add `plugins/<plugin>/data.json` to the denylist and remove it from the
|
vault-specific, add `plugins/<plugin>/data.json` to the denylist and remove it from the
|
||||||
global repo. The denylist is enforced by a `pre-receive` hook on the global repo, which
|
global repo. The denylist is enforced by a `pre-receive` hook on the global repo, which
|
||||||
rejects any push that touches a vault-specific path (so a stray cherry-pick can't publish
|
rejects any push that touches a vault-specific path (so a stray cherry-pick can't publish
|
||||||
|
|||||||
5
daily-notes.json
Normal file
5
daily-notes.json
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"format": "YYYY.MM.DD",
|
||||||
|
"folder": "02 Areas/Daily",
|
||||||
|
"template": "Templates/Daily note template"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user