# \[Obsidian Git\] Sync on your ios without any extra app

**URL:** <https://forum.obsidian.md/t/obsidian-git-sync-on-your-ios-without-any-extra-app/60639>\
**Category:** Workflows & Templates\
**Created:** [May 29, 2023, 1:46pm UTC](https://forum.obsidian.md/t/obsidian-git-sync-on-your-ios-without-any-extra-app/60639 "2023-05-29T13:46:02Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![adamma](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/a/ac91a4/32.png) [@adamma](https://forum.obsidian.md/u/adamma)\
**Post date:** [May 29, 2023, 1:46pm UTC](https://forum.obsidian.md/t/obsidian-git-sync-on-your-ios-without-any-extra-app/60639/1 "2023-05-29T13:46:02Z")

</div>

I believe that this might be the easiest way to backup IOS with only Obsidian Git plugin.  
❗ You don’t 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`
  - ❗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`

- Done, enjoy your free sync with git 🎉

---

_[View the full topic](https://forum.obsidian.md/t/obsidian-git-sync-on-your-ios-without-any-extra-app/60639)._
