-
-
Notifications
You must be signed in to change notification settings - Fork 20
Setup Obisidian Git on Desktop
ViscousPot edited this page Jan 27, 2025
·
2 revisions
Important
- Obsidian installed on your desktop (Download Obsidian).
- GitHub Desktop installed (Download GitHub Desktop).
- A GitHub account (Create an account).
- Completed the Beginner's Guide
- Open GitHub Desktop.
- Login and authenticate with oAuth (or your preferred method)
- Go to File > Clone Repository.
- Select the newly created repository and choose a local directory for the repository (e.g.,
~/Documents/my-obsidian-vault
). - Click Clone.
- Open Obsidian.
- Click Open folder as vault and select the local folder you cloned using GitHub Desktop.
- Go to Settings > Community Plugins in Obsidian.
- Turn on Safe Mode if it's off.
- Click Browse and search for
Obsidian Git
. - Install and enable the Obsidian-Git plugin.
- Go to Settings > Obsidian Git.
- Set the following options:
- Auto commit-and-sync interval (minutes): (e.g., 5 minutes).
- Auto commit-and-sync after stopping file edits: Enabled.
- Commit message on auto commit-and-sync: Customize or leave as default.
- Pull on startup: Enabled.
- Push on commit-and-sync: Enabled.
- Pull on commit-and-sync: Enabled.
- Save changes.
- Pulling Changes: On startup, Obsidian-Git automatically pulls changes from GitHub.
- Pushing Changes: Obsidian-Git automatically commits and pushes changes based on the set interval.
Important
The plugin obsidian-git
will interfere with GitSync, so you will need to disable it on your mobile devices!
This can easily be done by opening your Obsidian vault on your mobile device, scrolling to the bottom of the Git
settings and enabling disable on this device
You’re now set up to sync your Obsidian vault on Desktop!