Configure obsidian-git plugin: auto-commit on file change, pull on boot

Settings: autoSaveInterval=1min, autoBackupAfterFileChange=true, autoPullOnBoot=true

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Vadym Samoilenko 2026-04-14 18:51:07 +01:00
parent edf32c62d5
commit 626d522d4f
2 changed files with 32 additions and 2 deletions

2
.gitignore vendored
View file

@ -1,8 +1,6 @@
# Obsidian app config (device-specific)
.obsidian/workspace.json
.obsidian/workspace-mobile.json
.obsidian/plugins/obsidian-git/data.json
# Smart Connections embeddings (large, auto-regenerated)
.smart-env/

View file

@ -0,0 +1,32 @@
{
"commitMessage": "vault: auto-commit {{date}}",
"commitDateFormat": "YYYY-MM-DD HH:mm:ss",
"autoSaveInterval": 1,
"autoPushInterval": 0,
"autoPullInterval": 0,
"autoPullOnBoot": true,
"disablePush": false,
"pullBeforePush": true,
"disablePopups": false,
"listChangedFilesInMessageBody": false,
"showStatusBar": true,
"updateSubmodules": false,
"syncMethod": "merge",
"customMessageOnAutoBackup": false,
"autoBackupAfterFileChange": true,
"treeStructure": false,
"refreshSourceControl": true,
"basePath": "",
"differentIntervalCommitAndPush": false,
"changedFilesInStatusBar": true,
"username": "",
"timeout": 20,
"obfuscateVaultName": false,
"gitDir": "",
"worktreePath": "",
"refreshSourceControlTimer": 7000,
"showedMobileNotice": false,
"renameDeleteThreshold": 50,
"useGitStatusCache": true,
"showFileMenu": true
}