- Install Obsidian Git Plugin
- Setup SSH key
- Create a new repository for Obsidian Git
- Copy SSH URL
- In Obsidian, run command
Git: Edit remotes
and paste the SSH URL then select...
. - In Obsidian, run command
Git: Initialize a new repo
. - In Obsidian, run command
Git: Commit all changes
. - Using OS terminal or VSCode terminal, navigate to the vault and run
git remote add origin <SSH_URL>
. - Using OS terminal or VSCode terminal, navigate to the vault and run
git branch -M main
. - Using OS terminal or VSCode terminal, navigate to the vault and run
git push -u origin main
. - In Obsidian, change
vault backup interval (minutes)
to 5mn andAuto pull interval (minutes)
to 5mn.
Last active
July 24, 2024 09:04
-
-
Save bunsyy/d06563a40fe3727abd3e54b42018dba3 to your computer and use it in GitHub Desktop.
How I initialize Git in Obsidian with Github.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment