Editing Vault on multiple machines #266
-
I've got my digital garden set up on one laptop. There's an Obsidian vault, it pushes to a github repo, and publishes to vercel. Now, I'd like to be able to add the vault to a second laptop. I want to make sure my assumptions are correct.
Am I thinking correctly about how this should work? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I cannot answer directly to your situation because I neither use Sync nor Git. I am syncing with Dropbox. I edit my files on my mobile phone, as well as on my computer. If the sync is set up correctly, the version on the computer should be the same as the version on the mobile phone. There is a delay on the mobile phone because the sync doesn't happen instantly, but with additional apps (FolderSync in my case). Then what is on your Digital Garden is another matter. You can add the front matter flag (dg-publish: true) and trigger the publish command. With a shortcut, both will happen at the same time. You write something, you hit the shortcut, and it's online on your homepage. You can do it on your computer, you can do it on your mobile phone. Only the files get published, which have the flag and where the publish command was triggered (though you can also trigger it for all notes containing the flag at the same time). When you edit files, nothing will happen with your homepage, nothing will be synced. Only if you trigger the publish command again, your homepage will be updated. So, it's all about the publish command, which can be triggered on your mobile phone, as well as on your computer or second laptop. What I want to say, and hopefully, it answers your questions somehow... The publishing on the digital garden happens manually. It is independent of your vault sync setup. No matter if you have Sync or Git or if it's working or if you have multiple versions of the vault, which are not correctly synced etc. It all doesn't matter for the Digital Garden. The Digital Garden only cares about the notes, which you manually publish, no matter from which device. |
Beta Was this translation helpful? Give feedback.
I cannot answer directly to your situation because I neither use Sync nor Git. I am syncing with Dropbox. I edit my files on my mobile phone, as well as on my computer. If the sync is set up correctly, the version on the computer should be the same as the version on the mobile phone. There is a delay on the mobile phone because the sync doesn't happen instantly, but with additional apps (FolderSync in my case).
Then what is on your Digital Garden is another matter. You can add the front matter flag (dg-publish: true) and trigger the publish command. With a shortcut, both will happen at the same time. You write something, you hit the shortcut, and it's online on your homepage.
You can do i…