p4 graph lfs-lock (graph)

Create a git lfs-lock.

Syntax

p4 graph lfs-lock [-u user ] -n repo -r refpath file

Syntax conventions

Description

The file path must be a fully-qualified repo path or a path relative to the root of the repo. See "Git LFS" in the Working with Git in Helix Core Server Administrator Guide.

Options

-n

The name of the repo.

-r

The branch reference.

-u

The user that owns the lock.

Related Commands

To list the git LFS locks in the repo

p4 graph lfs-locks (graph)

To remove a git lfs-lock

p4 graph lfs-unlock (graph)