github.com/x-oss-byte/git-lfs@v2.5.2+incompatible/docs/man/git-lfs-locks.1.ronn (about)

     1  git-lfs-locks(1) -- Lists currently locked files from the Git LFS server.
     2  =============================================================================
     3  
     4  ## SYNOPSIS
     5  
     6  `git lfs locks` [options]
     7  
     8  ## DESCRIPTION
     9  
    10  Lists current locks from the Git LFS server.
    11  
    12  ## OPTIONS
    13  
    14  * `-r` <name> `--remote=`<name>:
    15    Specify the Git LFS server to use. Ignored if the `lfs.url` config key is set.
    16  
    17  * `-i <id>` `--id=<id>`:
    18    Specifies a lock by its ID. Returns a single result.
    19  
    20  * `-p <path>` `--path=<path>`:
    21    Specifies a lock by its path. Returns a single result.
    22  
    23  * `--local`:
    24    Lists only the locks cached locally. Skips a remote call.
    25  
    26  * `-l <num>` `--limit=<num>`:
    27    Specifies number of results to return.
    28  
    29  * `--json`:
    30    Writes lock info as JSON to STDOUT if the command exits successfully. Intended
    31    for interoperation with external tools. If the command returns with a non-zero
    32    exit code, plain text messages will be sent to STDERR.
    33  
    34  ## SEE ALSO
    35  
    36  git-lfs-lock(1), git-lfs-unlock(1).
    37  
    38  Part of the git-lfs(1) suite.