DOKK / manpages / debian 10 / git-lfs / git-lfs-locks.1.en
GIT-LFS-LOCKS(1) GIT-LFS-LOCKS(1)

git-lfs-locks - Lists currently locked files from the Git LFS server.

git lfs locks #OPTIONS

Lists current locks from the Git LFS server.

Specify the Git LFS server to use. Ignored if the lfs.url config key is set.
Specifies a lock by its ID. Returns a single result.
Specifies a lock by its path. Returns a single result.
Lists only our own locks which are cached locally. Skips a remote call.
Lists cached locks from the last remote call. Contrary to --local, this will include locks of other users as well. This option is intended to display the last known locks in case you are offline. There is no guarantee that locks on the server have not changed in the meanwhile.
Specifies number of results to return.
Writes lock info as JSON to STDOUT if the command exits successfully. Intended for interoperation with external tools. If the command returns with a non-zero exit code, plain text messages will be sent to STDERR.

git-lfs-lock(1), git-lfs-unlock(1).

Part of the git-lfs(1) suite.

January 2020