linked-blog-starter-md/publish/connect-obsidian-vault-with...

1.3 KiB

title
The Easiest Way to Connect Your Obsidian Vault with Github

Video: https://www.youtube.com/watch?v=5YZz38U20ws

  1. Create a repository or publish-your-obsidian-notes-with-linked-blog-starter in github
  2. Download Git
  3. Create a personal access token from github !create-pat-github.png
  4. Install the Obsidian Git community plugin
  5. Create a folder to store the repository. (e.g. remote-blog/). Set scopes to repo & expiration to no expiration
  6. Run the command (CMD/Ctrl + P): Clone an existing remote repo !clone-repo-git-plugin.png
  7. Paste the URL of the forked repository in the following format
https://<PERSONAL_ACCESS_TOKEN>@github.com/<USERNAME>/<REPO>.git

For example it might look like this:

https://ghp_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX@github.com/ithinkwong/linked-blog-starter-md.git
  1. Then type in the folder you created in step 5 (e.g. remote-blog/)
  2. Restart Obsidian
  3. Make edits to your notes
  4. Publish your notes run the command "Obsidian Git: Create backup" by opening the command palette (CMD/Ctrl + P)