all repos — dotfiles @ ac0ef268a85e4d7f67ee00e7a88bdafad888505a

linux dotfiles

update script org-autocommit-cron
Prithu Goswami prithugoswami524@gmail.com
Sat, 04 Jan 2020 09:38:40 +0530
commit

ac0ef268a85e4d7f67ee00e7a88bdafad888505a

parent

36d4b71f1c0202815bab020d2f9da638c6319b86

1 files changed, 3 insertions(+), 1 deletions(-)

jump to
M bin/cron/org-autocommit-cronbin/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