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

P4 CLI Documentation | 2026.1

# p4 graph lfs-unlock (graph)

Remove a git lfs-lock.

## Syntax

    p4 graph lfs-unlock [ -f ] [ -u user ] [ -n repo -r ref file ] | [ lockid ]

Syntax and naming conventions

## Options

Option | Description
--- | ---
`-f` | Allows removal of a lock owned by another user.
`-u` | The user that owns the lock.
`-n` | The name of the repo.
-r | The branch reference.

## Related commands

Create a git lfs-lock | p4 graph lfs-lock (graph)
To list the git lfs-locks | p4 graph lfs-locks (graph)

Your search for returned results