Hacker News new | ask | show | jobs
by 0_gravitas 2527 days ago
I wonder how hard it would be to make a folder that automatically pushes itself to a git repo whenever it detects a change in its contents, I've actually been thinking about that for a bit now. The optimist in me thinks it can't be too hard, could be a nice project to do someday.
1 comments

You could do it easily with a service which just indexes the files and periodically looks at most recently modified timestamps and then pushes if any of them are later than the most recent sync.