git-lfs/docs/man/git-lfs-locks.1.ronn

39 lines
1010 B
Plaintext
Raw Normal View History

2017-02-13 23:11:59 +00:00
git-lfs-locks(1) -- Lists currently locked files from the Git LFS server.
=============================================================================
## SYNOPSIS
`git lfs locks` [options]
## DESCRIPTION
Lists current locks from the Git LFS server.
## OPTIONS
* `-r` <name> `--remote=`<name>:
Specify the Git LFS server to use. Ignored if the `lfs.url` config key is set.
* `-i <id>` `--id=<id>`:
2017-02-15 20:38:47 +00:00
Specifies a lock by its ID. Returns a single result.
2017-02-13 23:11:59 +00:00
* `-p <path>` `--path=<path>`:
2017-02-15 20:38:47 +00:00
Specifies a lock by its path. Returns a single result.
2017-02-13 23:11:59 +00:00
* `--local`:
Lists only the locks cached locally. Skips a remote call.
* `-l <num>` `--limit=<num>`:
Specifies number of results to return.
* `--json`:
2017-02-15 20:38:47 +00:00
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.
2017-02-13 23:11:59 +00:00
## SEE ALSO
git-lfs-lock(1), git-lfs-unlock(1).
Part of the git-lfs(1) suite.