update script org-autocommit-cron
Prithu Goswami prithugoswami524@gmail.com
Sat, 04 Jan 2020 09:38:40 +0530
1 files changed,
3 insertions(+),
1 deletions(-)
jump to
M
bin/cron/org-autocommit-cron
→
bin/cron/org-autocommit-cron
@@ -1,5 +1,7 @@
#!/bin/sh cd $HOME/docs/org -git add . && git commit -m "auto commit: $(whoami)@$(hostname)" +cmsg=$(git status -s) +git add . && git commit -m "auto commit: $(whoami)@$(hostname)"\ + -m "$cmsg" ping -q -c 1 google.com >/dev/null && git push