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

     1  git-lfs-unlock(1) -- Remove "locked" setting for a file on the Git LFS server
     2  =============================================================================
     3  
     4  ## SYNOPSIS
     5  
     6  `git lfs unlock` [OPTIONS] <path>
     7  
     8  ## DESCRIPTION
     9  
    10  Removes the given file path as "locked" on the Git LFS server. Files must exist
    11  and have a clean git status before they can be unlocked. The `--force` flag will
    12  skip these checks.
    13  
    14  ## OPTIONS
    15  
    16  * `-r` <name> `--remote=`<name>:
    17    Specify the Git LFS server to use. Ignored if the `lfs.url` config key is set.
    18  
    19  * `-f` `--force`:
    20    Tells the server to remove the lock, even if it's owned by another user.
    21  
    22  * `-i <id>` `--id=<id>`:
    23    Specifies a lock by its ID instead of path.
    24  
    25  * `--json`:
    26    Writes lock info as JSON to STDOUT if the command exits successfully. Intended
    27    for interoperation with external tools. If the command returns with a non-zero
    28    exit code, plain text messages will be sent to STDERR.
    29  
    30  ## SEE ALSO
    31  
    32  git-lfs-lock(1), git-lfs-locks(1).
    33  
    34  Part of the git-lfs(1) suite.