all repos — dotfiles @ 6918d85c57bf01ce42e4aff29ffffef3ebd3f79d

linux dotfiles

bin/cron/org-autocommit-cron (view raw)

 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)@may"\
    -m "$cmsg"
ping -q -c 1 google.com >/dev/null && git push && git push glix

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