Source https://forum.obsidian.md/t/obsidian-git-sync-on-your-ios-without-any-extra-app/60639
- Sync repo
- Use https: protocol to clone the git repo
- Compress your repo and send it to your iphone (Air Drop or other ways)
- Open Obsidian on iphone, and create a vault with the same name as your repo, e.g. repoA
- Uncompress your repo on iphone and copy the whole folder, e.g. repoA
- Go to the path on my iphone -> Obsidian, you will see that the repoA is here. Now, paste your repo here, and choose Replace to all
- Config Git Auth
- Install and Enable the Obsidian Git plugin
- Go to github (I recommend you to use Personal access tokens, since the Password will fail sometimes)