Files
logseq-meta/android/.shortcuts/4push-graph.sh
2025-06-22 17:24:27 +02:00

14 lines
325 B
Bash

#!/data/data/com.termux/files/usr/bin/bash
targetpath=/data/data/com.termux/files/home/storage/documents/
eval "$(/data/data/com.termux/files/usr/bin/ssh-agent -s)"
/data/data/com.termux/files/usr/bin/ssh-add ~/.ssh/logseq_id_rsa
cd ${targetpath}logseq-gitea/logseq
git add -A
git commit -m "sync from android"
git push