I\'d like to use git to record all the changes to a file.
Is there a way I can turn git \'commit\' on to automatically happen every time a file is updated - so ther
Two solutions that I like are etckeeper -- which can be adapted to a custom directory other than /etc:
/etc
mkdir /foo etckeeper -d /foo init` etckeeper -d /foo commit 'message'
And gitwatch -- specially the instructions of how to use it with supervisord.