all repos — dotfiles @ c4f7807265dc2f6216f49fb83e053b0887f7ca27

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