MyFirstBrain/Technik/Obsidian-IOS-GitSync.md

26 lines
1.4 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
created: 2025-07-20T17:21
updated: 2025-07-20T17:21
---
I believe that this might be the easiest way to backup IOS with only Obsidian Git plugin.
![:exclamation:](https://forum.obsidian.md/images/emoji/apple/exclamation.png?v=12 ":exclamation:") You dont need to download any extra app on your devices.
- 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)
- `Setting -> Developersetting -> Tokens (classic) -> generate new token`
- ![:exclamation:](https://forum.obsidian.md/images/emoji/apple/exclamation.png?v=12 ":exclamation:")Please copy and store your token somewhere, cause it only shows once.
- Paste your `Personal access tokens` to the `Obsidian Git Setting-> Commit Author -> password/personal access tokens`
- Or put it in the Gitconfig directly
- Done, enjoy your free sync with git
#technik #obsidian #git