From the Project tab, right-click on a file to open the context menu and select Request Lock
.
An additional way to lock a file is by selecting it and going to Assets
-> Request Lock
.
After requesting a lock, a lock icon appears in the bottom right-hand corner of the file.
A list of all locked files will appear in the Locks view in the GitHub tab.
There are three ways to release locks:
- From the Project tab, right-click on the locked file to open the context menu and select the option to
Release Lock
.
- From the GitHub tab under the Locks view, right-click to open the context menu and select to
Release Lock
.
- Select the file to unlock and go to select the menu option
Assets
->Release Lock
.
Note: There are also two options for how to release a lock on a file. Always choose the Release Lock
option first. The Release Lock (forced)
option can be used to remove someone else's lock.