Created
April 10, 2022 12:49
-
-
Save ahue/4b64574acdeca40a90e6ade8ad8fd4c6 to your computer and use it in GitHub Desktop.
Obsidian pull-push script for Android
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/data/data/com.termux/files/usr/bin/bash | |
cd ~/storage/shared/documents/my-vault | |
git add --all | |
git commit -m "mobile update $(date)" | |
git pull --rebase | |
git push origin main |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment