Exporting one folder to a git repo?

I’m happily using Obsidian with iCloud syncing, with my primary usage on an iPad, but for this scenario I’m happy to rely on a Mac.

I have one folder that I would like to periodically “sync” (one way) to a directory within an existing git repository.

Does anyone have any hints on how I might proceed?

Assuming you have a local copy of the repository, you can use rsync. Here is a quick explanation for how to keep to directories in sync (one way).

Another option would be to set up directory #2 as a git repo, push to your git host, and then add directory #2 as a submodule in your Obsidian git repo.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.