From 462615289b1ba6bcabc4447bd15edeffd3bcb0b9 Mon Sep 17 00:00:00 2001 From: AlexAI Date: Tue, 24 Feb 2026 09:57:38 -0600 Subject: [PATCH] Configure Obsidian Git: auto-backup every 30 min, sync settings --- .gitignore | 2 +- .obsidian/plugins/obsidian-git/data.json | 47 ++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 .obsidian/plugins/obsidian-git/data.json diff --git a/.gitignore b/.gitignore index ba2abff..282e6a3 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,7 @@ .obsidian/workspace.json .obsidian/workspaces.json .obsidian/cache -.obsidian/plugins/obsidian-git/data.json +# Note: obsidian-git/data.json is kept to sync auto-backup settings # OS files .DS_Store diff --git a/.obsidian/plugins/obsidian-git/data.json b/.obsidian/plugins/obsidian-git/data.json new file mode 100644 index 0000000..b7f2d01 --- /dev/null +++ b/.obsidian/plugins/obsidian-git/data.json @@ -0,0 +1,47 @@ +{ + "commitMessage": "vault backup: {{date}}", + "commitDateFormat": "YYYY-MM-DD HH:mm:ss", + "autoSaveInterval": 30, + "autoSaveMode": "backup", + "autoPush": true, + "autoPull": false, + "autoPullInterval": 0, + "pushOnBackup": true, + "pullBeforePush": false, + "disablePush": false, + "pullOnStartup": false, + "disablePopups": false, + "disablePopupsForNoChanges": true, + "listChangedFilesInMessageBody": false, + "showStatusBar": true, + "updateSubmodules": false, + "syncMethod": "merge", + "customMessageOnAutoBackup": false, + "autoBackupAfterFileChange": false, + "tree": { + "main": [ + { + "text": "backup", + "command": {"id": "obsidian-git:commit", "args": {}}, + "icon": "lucide-git-commit-horizontal" + }, + { + "text": "push", + "command": {"id": "obsidian-git:push", "args": {}}, + "icon": "lucide-git-pull-request-arrow" + }, + { + "text": "backup + push", + "command": {"id": "obsidian-git:push", "args": {}}, + "icon": "lucide-upload-cloud" + }, + { + "text": "open git view", + "command": {"id": "obsidian-git:open-source-control", "args": {}}, + "icon": "lucide-git-commit-horizontal" + } + ] + }, + "basePath": "", + "rememberPassword": true +} \ No newline at end of file