23 lines
997 B
Bash
23 lines
997 B
Bash
#!/data/data/com.termux/files/usr/bin/bash
|
|
/data/data/com.termux/files/usr/bin/pkg update
|
|
/data/data/com.termux/files/usr/bin/pkg upgrade
|
|
|
|
/data/data/com.termux/files/usr/bin/pkg install git ssh
|
|
|
|
|
|
/data/data/com.termux/files/usr/bin/git config --global user.name "Stepan Kuklis"
|
|
/data/data/com.termux/files/usr/bin/git config --global user.email panpanika@gmail.com
|
|
|
|
/data/data/com.termux/files/usr/bin/termux-setup-storage
|
|
|
|
/data/data/com.termux/files/usr/bin/mkdir /data/data/com.termux/files/home/storage/shared/logseq-gitea
|
|
|
|
/data/data/com.termux/files/usr/bin/cd /storage/emulated/0/logseq-gitea/
|
|
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
|
|
|
|
/data/data/com.termux/files/usr/bin/git clone ssh://git@gitea.panpanika.eu:2222/panika-logseq/logseq.git
|
|
|
|
/data/data/com.termux/files/usr/bin/git config --global --add safe.directory /storage/emulated/0/logseq-gitea/logseq
|