Skip to content

Commit 50bb08b

Browse files
committed
Update README with commit on close option
1 parent e5a0e8a commit 50bb08b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ Then copy `main.js`, `manifest.json`, and `styles.css` to your vault's plugin fo
5757
| Option | Description | Default |
5858
|--------|-------------|---------|
5959
| Auto pull on open | Pull from remote when Obsidian opens | Off |
60+
| Commit and push on close | Commit and push when Obsidian closes (may cause brief delay) | Off |
6061
| Enable auto commit | Auto commit after file changes | Off |
6162
| Debounce delay (seconds) | Wait time before committing | 30 |
6263
| Auto push after commit | Push to remote after commit | Off |

README_zh.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ npm run build
5757
| 选项 | 描述 | 默认值 |
5858
|------|------|--------|
5959
| 打开时自动拉取 | Obsidian 启动时从远程拉取 | 关闭 |
60+
| 关闭时提交并推送 | 关闭 Obsidian 时提交并推送(可能导致短暂卡顿) | 关闭 |
6061
| 启用自动提交 | 文件变更后自动提交 | 关闭 |
6162
| 防抖延迟(秒) | 提交前等待时间 | 30 |
6263
| 提交后自动推送 | 提交后推送到远程 | 关闭 |

0 commit comments

Comments
 (0)