.\" generated with Ronn-NG/v0.8.0 .\" http://github.com/apjanke/ronn-ng/tree/0.8.0 .TH "GIT\-LFS\-LOCKS" "1" "January 2020" "" "" .SH "NAME" \fBgit\-lfs\-locks\fR \- Lists currently locked files from the Git LFS server\. .SH "SYNOPSIS" \fBgit lfs locks\fR \fI\%#OPTIONS\fR .SH "DESCRIPTION" Lists current locks from the Git LFS server\. .SH "OPTIONS" .TP \fB\-r\fR \fIname\fR \fB\-\-remote=\fR\fIname\fR Specify the Git LFS server to use\. Ignored if the \fBlfs\.url\fR config key is set\. .TP \fB\-i \fR \fB\-\-id=\fR Specifies a lock by its ID\. Returns a single result\. .TP \fB\-p \fR \fB\-\-path=\fR Specifies a lock by its path\. Returns a single result\. .TP \fB\-\-local\fR Lists only our own locks which are cached locally\. Skips a remote call\. .TP \fB\-\-cached\fR 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\. .TP \fB\-l \fR \fB\-\-limit=\fR Specifies number of results to return\. .TP \fB\-\-json\fR 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\. .SH "SEE ALSO" git\-lfs\-lock(1), git\-lfs\-unlock(1)\. .P Part of the git\-lfs(1) suite\.