-
Notifications
You must be signed in to change notification settings - Fork 288
Description
The article covers how to setup a new vault and connect it to github. But what do you need to do to connect an existing one?
basically you need:
- to install the git plugin
- to setup a GitHub repository
what we did in this article was (1) create a repository on GitHub.com (2) make a synced copy of it locally, with GitHub UI. That's what allows us to push to that repository on GitHub.com
So, if you have an existing Obsidian vault, you need to connect it with a repository. What I would do is copy the vault contents into source/content/. Then, once you confirm it's all working/you push, you can start using that as your main vault/delete the old location (don't delete the old one until you confirmed it's pushed/you can see it on github.com)
Otherwise you can make your existing folder into a git repository, which is a bit more steps (you have to initialize the git repo, point it to this repository, then fetch/resolve conflicts/force push)