Vault Version Control

by ZEMAO CHEN
5
4
3
2
1
Score: 50/100

Description

Reviews

No reviews yet.

Stats

0
stars
55
downloads
0
forks
15
days
12
days
12
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
7
commits

Latest Version

12 days ago

Changelog

Vault Version Control 0.1.49

This release updates the public installation package from 0.1.42 to 0.1.49, including improved Ignore from Git workflows, safer historical restore behavior, and clearer comparisons.

Changes

  • Ignore files and folders: Ignore individual or selected files/folders, including already tracked items, without deleting their local content. Repeated Ignore operations do not require intermediate commits.
  • Precise staging and Undo: Only new ignore rules and selected tracked-file removals are staged. Existing unrelated .gitignore edits remain untouched. The latest pending Ignore can be safely undone, with a compact non-intrusive Undo notice.
  • Historical restore safety: Use this version never treats a commit without a file Blob as an instruction to delete a local file.
  • File History: Distinguish Git removal events from actual committed file versions. A Git removal event has a separate, read-only View Git change action.
  • Compare: Compare an existing, saved Current local file (including ignored/untracked files) with historical versions containing actual file content. Removal events cannot masquerade as empty file versions. Show the current file and its latest matching removal event as one compact item in Compare mode.
  • File status: Stopped-tracking files that remain on disk are clearly differentiated from physical deletions.

Safety and compatibility

  • Existing committed content remains in Git history when ignored. Local files are preserved by Ignore from Git.
  • Compares use the bytes saved on disk, excluding unsaved editor text.
  • Git history is not cloud backup or automatic sync. Maintain independent backups and start with a test vault.
  • Requires Obsidian Desktop 1.7.2+ and a locally installed Git 2.29+.
  • Public source distribution: this repository contains the installable runtime. The TypeScript source and development history reside in a separate private repository; Obsidian Community Directory can be granted read access for build review.
  • Public release assets include main.js, manifest.json, styles.css and an optional installation ZIP.

Validation: 182 automated tests passed, 1 optional test skipped, 0 failed; TypeScript type-check and production build passed. No Community Directory approval is implied.

README file from

Github

Vault Version Control

Manage your Obsidian vault's Git history without leaving Obsidian.

Vault Version Control is a desktop plugin for tracking changes, inspecting earlier versions of notes, comparing files, and managing Git branches. Optional remote operations help you import history and deliberately fetch or push changes.

Safety: Git version history is not automatic cloud backup or sync. Begin with a test vault and maintain independent backups.

Features

  • Capture versions: Review changes, stage and unstage files, and create commit snapshots.
  • Browse file history: Preview historical notes and restore a copy without resetting the current branch.
  • Compare text files: Read-only side-by-side diffs, inline highlights, line numbers, wrapping, a difference overview, theme-matched typography, and large-file rendering.
  • Explore vault history: Branch-aware commit graph, full commit messages, Start Here to branch from an older commit, and protected branch switching.
  • Use remote Git: Preview and initialize from remote history, connect a destination remote, fetch, and push the current branch without forcing.
  • Manage ignored files and folders: Ignore files or folders without deleting local content. Stage only new ignore rules, undo the latest Ignore before committing, and compare current saved files with earlier committed versions.
  • Support development: Optional funding entry in plugin Settings and Obsidian's native Donate menu.

See the feature overview and user guide for workflows, precautions, and limitations.

Requirements

  • Obsidian Desktop 1.7.2 or later.
  • Git 2.29 or later installed on your computer.
  • Desktop only; mobile is not supported.

Install

Once listed in the Obsidian Community Plugins directory, install it through Settings → Community plugins.

Before directory acceptance, install manually:

  1. Open GitHub Releases.
  2. Download the individual runtime files main.js, manifest.json, and styles.css, or use the optional convenience installation ZIP.
  3. Place all three files inside your vault at .obsidian/plugins/vault-version-control/.
  4. Reload Obsidian, open Settings → Community plugins, and enable Vault Version Control.
  5. Open the Version Control sidebar using its ribbon icon or command.

Getting started

For a vault with no Git repository, choose local initialization to create the first snapshot. An existing Git repository at the vault root is detected automatically. The advanced Initialize from Remote workflow is not an ordinary clone: read the import precautions first.

Configure Git detection and commit identity under Settings → Vault Version Control.

Limits and privacy

This plugin is not an automatic sync service, a full Git client, or a substitute for backups. Fetch does not merge files into the vault. Force push and general merge/rebase workflows are not supported. Before pushing a vault, inspect all reachable Git history for personal information and secrets, not just the current files.

Development

Install dependencies with npm install, then run npm run check, npm run build, and npm test.

The installable runtime consists only of main.js, manifest.json, and styles.css. The prior long-form README and change history is preserved in historical development notes.

Source code and data access

The TypeScript source and development history are maintained in a separate private repository. The compiled plugin JavaScript and release assets are publicly accessible here. Obsidian's Community Directory can be granted access to the private source for build verification.

Network access: User-requested remote Git operations (such as Initialize from Remote, Fetch and Push) contact user-configured Git servers. The optional donation action opens PayPal only after clicking. No telemetry is sent.

Local access: The plugin invokes an installed Git executable and may create temporary files outside the vault for remote preparation and safe comparison. It accesses vault files and local Git metadata to operate.

License and support

See LICENSE. Bugs and feature requests can be filed as GitHub issues; remove private vault content and credentials from diagnostics. Optional financial support is offered through Donate and Support Development and does not unlock features.