Files
OBS/2. Проекты/OBSIDIAN/2. Obsidian_Windows/Синхронизация Mobile.md
2025-06-03 21:14:26 +04:00

30 lines
2.6 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.
>[!tip] Настройка синхронизации в мобилке
>### Setup
- Установить [Termux](https://gist.github.com/Makeshift/43c7ecb3f1c28a623ea4386552712114)
- Открыть **Termux**, использовать `termux-change-repo`. Press the ↓ button and press spacebar to tick all repositories, then press enter to move to the next screen
- Нажать Enter - выбрать `Mirror` - выбрать 1 пункт (самый верхний)
- Выполнить команду `pkg install git -y`
- Выполнить команду `termux-setup-storage`
- Выполнить команду `cd storage/shared` (Не пригодилось, но может пригодиться, если будут ошибки [this page](https://wiki.termux.com/wiki/Termux-setup-storage))
- Выполнить команду `git config --global credential.helper store`
- Выполнить команду `git config --global user.email "<your_email>"` (указать email из личного git)
- Выполнить команду `git config --global user.name "<The name you want on your commits>"` (Указывается свой ник из git(ea) (Stitch505)
- Выполнить команду `git config --global pull.rebase true`
- Выполнить команду `git clone <your repository>`(Требуется указать полную ссылку на коммит в git (нужно зайти в репозиторий и под тегами взять полную ссылку нажать enter + указать свой логин . Также может потребоваться персональный токен [personal access token](https://github.com/settings/tokens).
- Установить и открыть [[Ссылки]]
- Открыть папку куда было сделано синхронизация
- Зайти в настройки obsidian -> настройки -> git ->authentication/commit author и заполнить 4 поля
>[!info] ГДЕ:
>- 1 поле) Указывается username из obsidian
>- 2 поле) Указывается пароль или [токен](https://github.com/settings/tokens)
>- 3 поле) Указывается Никнейм Автора коммита ( Stitch505 т.к. ты его создатель
>- 5 поле) Указывается email от коммита (Свой еmail посмотреть в git)
- Выставить тайминг в полях:
>[!info]
>Automatic-> Vault backup (Число)
>Auto pull interval (Число)
> [!quote] Взято из [источника](https://gist.github.com/Makeshift/43c7ecb3f1c28a623ea4386552712114)