all repos — dotfiles @ 1dce0b27721362718b1f1cbe69b492aa9af6028f

linux dotfiles

bin/cron/org-autocommit-cron

1 2 3 4 5 6 7 8 9 10
#!/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

cd $HOME
pass git pull && pass git push && pass git push glix