jodell/dots — pull request #2 by RobertZK (2013-11-07 22:01:25+00:00)
Title: hardlinked dotfiles and auto git saving

This allows you to hardlink your dotfiles so local changes get auto-noted in the git repo. Then there's a crontab for autopushing, so basically you can forget about your dotfiles repo and it will auto commit changes. Finally, there's a "dotfile" helper script that should be added to $PATH that lets you do things like

dotfile ~/.somenewdotfile "This commit message tells you about a new dotfile"

To run every hour:

crontab -e

add:

0 * * * * /Users/jodell/dots/bin/autopush.sh