all repos — dotfiles @ 182391dd624cf67c590e3bcf5e332b7065563d15

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