Obsidian Git
Simple plugin that allows you to back up your Obsidian.md vault to a remote git repository (e.g. private repo on GitHub). This plugin assumes credentials are set up.
On advantages of backing up your vault with git I suggest reading this amazing article by @tallguyjenks.
This plugin does not work on mobile at the moment See #57 for updates.
Installation
See the installation guide for further instructions.
Documentation
Requirements, tips and tricks, common issues and more can be found in the wiki
Features
- Automatic vault backup every X minutes
- Pull changes from remote repository on Obsidian startup
- Assign hotkeys for pulling/pushing changes to a remote repository
- Manage different repositories via Git submodules
Sidebar view
The Source Control View allows you to stage and commit individual files. It can be opened by the Open Source Control View
command.
Available Commands
Create Backup
: Commits all changes and pushes them depending on your setting whether to push on backup or notCreate Backup with specific message
: Same as above, but with a custom messageCommit all changes
: Only commits all changes without pushingCommit all changes with specific message
: Same as above, but with a custom messagePush
Pull
List changed files
: Lists all changes in a modalEdit remotes
andRemove remote
Initialize
a new repo`Clone an existing remote repo
Contact
If you have any kind of feedback or questions, feel free to reach out via GitHub issues or @evrwhr
on Obsidian Discord server.
This plugin was initial developed by denolehov. Since March, it's mainly Vinzent03 who is developing on this plugin.
If you want to support me (Vinzent03) you can support me on Ko-fi