all repos — dotfiles @ d474d5f8e7d6bd7bd443965bedc0cc097aa70b00

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