initial commit
This commit is contained in:
7
android/.shortcuts/pull-graph.sh
Normal file
7
android/.shortcuts/pull-graph.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/data/data/com.termux/files/usr/bin/bash
|
||||
source /data/data/com.termux/files/usr/bin/source-ssh-agent
|
||||
/data/data/com.termux/files/usr/bin/ssh-agent
|
||||
/data/data/com.termux/files/usr/bin/ssh-add ~/.ssh/logseq_id_rsa
|
||||
cd /data/data/com.termux/files/home/storage/shared/logseq-gitea/logseq
|
||||
git pull
|
||||
|
||||
10
android/.shortcuts/push-graph.sh
Normal file
10
android/.shortcuts/push-graph.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/data/data/com.termux/files/usr/bin/bash
|
||||
source /data/data/com.termux/files/usr/bin/source-ssh-agent
|
||||
/data/data/com.termux/files/usr/bin/ssh-agent
|
||||
/data/data/com.termux/files/usr/bin/ssh-add ~/.ssh/logseq_id_rsa
|
||||
cd /data/data/com.termux/files/home/storage/shared/logseq-gitea/logseq
|
||||
git add -A
|
||||
git commit -m "sync from android"
|
||||
git push
|
||||
|
||||
|
||||
Reference in New Issue
Block a user