autocommit script
Prithu Goswami prithugoswami524@gmail.com
Sat, 21 Dec 2019 09:34:14 +0530
1 files changed,
5 insertions(+),
0 deletions(-)
jump to
A
bin/cron/org-autocommit-cron
@@ -0,0 +1,5 @@
+#!/bin/sh + +cd $HOME/docs/org +git add . && git commit -m "auto commit: $(whoami)@$(hostname)" +ping -q -c 1 google.com >/dev/null && git push