Working with Git LFS Files

Git Large File Storage (LFS) is a Git extension that improves how large files are handled. It replaces them with tiny text pointers that are stored on a remote server instead of in their repository, speeding up operations like cloning and fetching in Bitbucket Data Center.

Using Git LFS, you can also lock LFS files to stop others from editing them. This can be helpful if you work with large binary assets that can’t be merged like images, videos, or 3D models.

When files are locked, an icon appears next to them. Hover over it to see who locked the file and when they did this. 

To work with Git LFS files you need to know how to:

  1. Install the Git LFS client

  2. Track Git LFS files and make them lockable

  3. Lock and unlock Git LFS files

  4. Unlock Git LFS files locked by other people

On this page:

Related pages: