Pre-receive hooks block everyone except the author of the file lock from pushing changes to that file.
File locking leverages your project permissions to determine who can lock and unlock files.
Merge conflict resolution:
If you choose not to lock a file and end up with a merge conflict you can easily resolve the conflict from
the UI. Preview both versions and select choose the one you want to maintain.
Locked files help your team understand who is working on the file. In the UI you’ll see who locked the file
and when it was locked.
Reduce the number of merge conflicts caused by two or more developers working on a file at the same time.
With Git LFS support and File Locking your team can effectively store and manage their media assets, such
as images, PSDs, 3D models, etc. within the repository.
Take GitLab for a spin
See what your team could do with The DevSecOps Platform.