Thx for good work!
But in some multi-user usage on remote, I think another option may be usefull: check for remote modification of file before upload it to Remote!!
1. MisterA download a file from Remote to Local
2. MisterB edit the file and save the modification on Remote
3. MisterA edit the file and save the modification on Local and upload it on Remote
4. Result: MisterB loose his changes...
Compare the "Remote last modification date" of the file with the "Download on local date" of the file (Hours+Minutes+Seconds) and propose an action to do for the user, like VIM:
WARNING: The file has been changed since reading it!!!
Do you really want to write to it (y/n)?
I have tried to find a solution with Remote options
"confirm_overwrite_newer": true, without success...
PS: For further... I imagine you can also ask user for a merge solution!