- Create a repository and set it to private if you want
- In your vault, run these commands substituting the values
git init git add . git commit -m "Initial commit" git remote add origin [email protected]:<USERNAME>/<REPO_NAME>.git git push -u origin master
- Now...
Using my spooooky unofficial Git plugin
- Install it
- Press sync inside Obsidian whenever you make changes
Using the git cli
- Open a terminal in your vault folder
- Run
git add . && git commit -m 'Commit name'