Working with Obsidian

less than 1 minute read


Sync via GitHub

Step 1 - Set Up GitHub (With SSH)

$ git remote set-url origin
  • Add GitHub to the list of known hosts
$ ssh -T

Step 2 - Install and Configure Obsidian Plugin

  • Install obsidian-git plugin for Obsidian
  • Create .gitignore file in the repository folder and add the following lines:
.obsidian/  # to exclude Obsidian workspace settings (including plugin and hotkey configurations)
# OR
.obsidian/workspace  # to exlude workspace cache

# Add below lines to exclude OS settings and caches