How would you deal with editors that auto save?
You’re absolutely right that has not been thought of. The reason why is because I’m pretty sure Vim doesn’t save by default… which is what I will use it with. BUUUUT, I know a lot of editors do auto save. Hmmm. Interesting problem.
As far as Git doing the work… it really doesn’t. Python scripts are what will actually handle the heavy lifting. They’ll just utilize Git to push files.
There’s one even bigger problem though: Permissions.
Generally, root permission is required to perform any sort of git push. I think that would probably be set on my server but in order to make everything seamless, I’m pretty sure I’d have to change the permission of the directory that houses everything. That is no bueno and will COMPLETELY eliminate any security benefits from this method.