Xit is an Obsidian plugin designed to seamlessly synchronize your notes with a Git repository directly from within Obsidian. Keep your vault version-controlled and backed up effortlessly.
- Automatic & Manual Sync: Configure automatic synchronization or trigger sync operations manually.
- Git Operations: Supports common Git actions like commit, push, and pull.
- Settings Tab: Configure your Git repository details and plugin behavior through the Obsidian settings.
- Cross-Platform: Works wherever Obsidian runs (desktop).
- Open Obsidian's Settings.
- Go to Community plugins.
- Ensure Restricted mode is off.
- Click Browse community plugins.
- Search for "Xit".
- Click Install.
- Once installed, click Enable.
- Configure the plugin settings (see Usage).
(Alternatively, manual installation instructions can be added here if you plan to support that)
- After enabling the plugin, go to the Xit settings tab in Obsidian's Settings.
- Configure the path to your local Git repository (usually your Obsidian vault path if it's already a Git repo, or initialize one).
- Set up remote repository details if you want to push/pull (URL, authentication).
- Configure sync frequency and other options as needed.
- Use the command palette or configured hotkeys/buttons to perform Git actions (Commit, Push, Pull, Sync).
To contribute or build the plugin locally:
- Clone the repository.
- Install dependencies:
pnpm install
- Run the development build (watches for changes):
pnpm run dev
- Run the production build:
pnpm run build
- Run tests:
pnpm test
This plugin is licensed under the 0BSD License. See the LICENSE file for details.