22 lines
1.4 KiB
Markdown
22 lines
1.4 KiB
Markdown
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`
|
||
- Or put it in the Gitconfig directly
|
||
|
||
- Done, enjoy your free sync with git
|
||
|
||
|
||
|
||
#technik, #obsidain, #git |