Using Git and Obsidian with Termux

First, grant permissions to storage: 1

termux-setup-storage

Then, install git and clone the repository to internal device storage: 2

apt install git
cd /storage/shared/
git clone git@example.com/user/repo

To install a custom plugin, you’ll have to build it in Termux’s home folder since symlinks are not allowed in internal device storage. After building, remember to copy the main.js and manifest.json files to the obsidian plugin directory. 3

Footnotes

  1. 20241026152024

  2. 20241026150734

  3. 20241026152423