Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

P4 Server Administration Documentation | 2025.2

# Git LFS

Git Connector supports mirror files stored in Git Large File Storage (LFS).

On the Linux server that is running the Git Connector: | If you are using the Git Connector with One-way mirroring from Git servers into P4 Server, download the git-lfs tar file at https://github.com/git-lfs/git-lfs/tags, then install the package to a directory that is in the path of the git OS user (or the user you specified when configuring the Git Connector).
On each client machine that is working with the Git repositories: | Follow the Getting Started instructions at https://git-lfs.github.com/.

## Git LFS file locking

Git Connector supports the Git LFS File Locking API with the following Perforce commands:

Command | Possible Use Case
--- | ---
p4 graph lfs-lock (graph) | A user wants to prevent changes to graphics or CAD files
p4 graph lfs-locks (graph) | List the LFS files that are locked
p4 graph lfs-unlock (graph) | Allow the admin to unlock one or more files

This means that:

- the locks created in P4 Server with p4 graph lfs-lock are visible to git clients
- the locks created in Git with git lfs lock are visible to P4 Server

Your search for returned results