14 lines
325 B
Bash
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
|
|
|
|
|