Configure Obsidian Git: auto-backup every 30 min, sync settings

This commit is contained in:
AlexAI
2026-02-24 09:57:38 -06:00
parent 27f861d487
commit 462615289b
2 changed files with 48 additions and 1 deletions

View File

@@ -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
}