File: git-lfs-locks.adoc

package info (click to toggle)
git-lfs 3.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,808 kB
  • sloc: sh: 21,256; makefile: 507; ruby: 417
file content (55 lines) | stat: -rw-r--r-- 1,791 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
= git-lfs-locks(1)

== NAME

git-lfs-locks - 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>`::
   Specifies a lock by its ID. Returns a single result.
`-p <path>`::
`--path=<path>`::
   Specifies a lock by its path. Returns a single result.
`--local`::
  Lists only our own locks which are cached locally. Skips a remote call.
`--cached`::
  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.
`--verify`::
  Verifies the lock owner on the server and marks our own locks by 'O'. Own
  locks are actually held by us and corresponding files can be updated for the
  next push. All other locks are held by someone else. Contrary to --local, this
  option will also detect locks which are held by us despite no local lock
  information being available (e.g. because the file had been locked from a
  different clone); it will also detect 'broken' locks (e.g. if someone else has
  forcefully unlocked our files).
`-l <num>`::
`--limit=<num>`::
   Specifies number of results to return.
`--json`::
  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.

== SEE ALSO

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

Part of the git-lfs(1) suite.