Version Control
Git integration and generation history.
Ocsidian includes built-in Git support and a generation-specific history system that lets you track, compare, and revert AI-generated changes.
Git integration
- Source control panel in the left sidebar
- Stage, commit, push, pull, and branch from the UI
- Diff viewer with syntax highlighting
- Merge conflict resolution with AI assistance
Generation history
Every AI generation creates a checkpoint. You can browse the generation timeline, preview the state at any point, and restore previous versions without affecting your Git history.
Note
Generation checkpoints are stored locally in
.ocsidian/history/ and are separate from Git. Add this directory to .gitignore to keep your repository clean.