Configure Obsidian Git: auto-backup every 30 min, sync settings
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -2,7 +2,7 @@
|
|||||||
.obsidian/workspace.json
|
.obsidian/workspace.json
|
||||||
.obsidian/workspaces.json
|
.obsidian/workspaces.json
|
||||||
.obsidian/cache
|
.obsidian/cache
|
||||||
.obsidian/plugins/obsidian-git/data.json
|
# Note: obsidian-git/data.json is kept to sync auto-backup settings
|
||||||
|
|
||||||
# OS files
|
# OS files
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|||||||
47
.obsidian/plugins/obsidian-git/data.json
vendored
Normal file
47
.obsidian/plugins/obsidian-git/data.json
vendored
Normal 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
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user