all repos — dotfiles @ 6e4ae2cc5f9dd2be6e0770c4a51561fd654d569f

linux dotfiles

bin/cron/org-autocommit-cron (view raw)

 1
 2
 3
 4
 5
 6
 7
#!/bin/sh

cd $HOME/docs/org
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