The script will check the file changes every 10 seconds and commit and push to the origin server master branch automatedly when there is a file change.
hey thanks for this, awesome idea since the desktop app is awesome and can’t wait for github integration.
Is there any way to have automatic pulls as well perhaps?
Also does it work the same on Linux and mac, I use both and not sure if there are any particular differences that I should be aware of for this script to work
I have not Linux machine on hand right now; however, it should work on Linux also. Let me know if it doesn’t work.
Implement automatic pulls are quite direct in the shell script, but the potential git conflict is complicated. The script might fit simple backup scenes only, two-way synchronization may be problematic.
This is awesome. Is there any possibility to pack it into an app? I’ll look into it on a Mac but if someone has already done something like this, it’d be great to have a hint.