Here’s how I got my iPhone to sync with my existing vault that is stored on GitHub. Your mileage may vary, posting here in case it’s useful to others. I presume existing knowledge of Obsidian, GitHub, the Working Copy app, basic iOS, etc. Comments and feedback welcome!
(Optional) If you don’t have an existing repository, or if you just want to test it out, create a new repository on GitHub. You don’t have to sync this with desktop Obsidian first (or ever) in order to sync it with the mobile app.
Create a new vault in Obsidian mobile, deselecting “Store in iCloud”.
- (Optional, but recommended) Configure the Obsidian mobile app to use a different config folder (Settings → About → Advanced → Override config folder); e.g., .obsidian.mobile. If you don’t change this then, depending on what gets synced via git from your .obsidian configuration (such as your workspace), you might get some configuration that’s not supported on mobile (yet).
- In Working Copy, clone the git repository
- (Optional) Rename the local name of the git repository in Working Copy to the vault name you set up in Obsidian mobile (this is just so the correlation is obvious to you later)
- In the Working Copy repository “share sheet”…
… and select “Setup Folder Sync”.
- Select → On My iPhone/iPad → Obsidian → Vault Name
- Verify the syncing has started
You should now be able to manually pull, push, merge changes through [[Working Copy]]