1.4 KiB
1.4 KiB
title, type, tags, sources, last_updated
| title | type | tags | sources | last_updated | |||||
|---|---|---|---|---|---|---|---|---|---|
| Obsidian Git | concept |
|
|
2026-04-20 |
Aliases
- Obsidian Git 插件
- Obsidian Git 扩展
Definition
Obsidian 的社区插件,为 Vault 提供 Git 版本管理功能,支持自动 commit + push 到远程仓库。是 LLM Wiki 的必选项——AI 批量改文件的能力越强,越需要版本管理来兜底。
Setup Steps
- 设置 → 第三方插件 → 社区插件市场 → 搜索 "git" → 安装并启用
- 如果 Vault 还不是 Git 仓库:
git init git remote add origin https://github.com/用户名/knowledge-bases.git git branch -M main git add . git commit -m "init: 初始化知识库" git push -u origin main - 在 Obsidian Git 插件设置中,将 Auto commit-and-sync interval 设为 10 分钟
Value for LLM Wiki
- 实时备份 + 完整历史:每隔几分钟插件自动 commit + push,完全无需手动操作
- 版本兜底:AI 批量修改多个文件时,可随时回滚到任意历史版本
- 多设备同步:通过 GitHub 实现跨设备同步
Note
建议创建私有仓库(Private Repository),知识库内容属于私人数据。
Connections
- Obsidian Git ← 版本管理 ← LLM Wiki
- Obsidian Git ← 插件 → Obsidian