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