all repos — dotfiles @ 9aab5da5634dcc43772cb4c179bb4968450f27d5

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