Put a lock on a file

Any user can put a lock on a file so that other users cannot work on it at all.

Important
This can be an inconvenient command. If you do lock a file, make sure that you unlock it. Else no other user can the work on that same file.

NOTE
In some situations, you may want Git Winch to automatically lock a file the moment you launch it into an application. To do that, you need to give the following configuration in the gitwinch.ini file (Load that in a text-editor like notepad and make the changes)

LockOnLoad=1

This configuration should be made in the System Category of the .ini file. If indeed Git Winch auto-locks files (when you launch them) it will pop-up a message reminding you that you must unlock the said file(s) after your work is done. Else other users who want to work on the file would be inconvenienced.


Learn the concepts | Table of Contents