File: git-lfs-unlock.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 (38 lines) | stat: -rw-r--r-- 961 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
= git-lfs-unlock(1)

== NAME

git-lfs-unlock - Remove "locked" setting for a file on the Git LFS server

== SYNOPSIS

`git lfs unlock` [<options>] <path>

== DESCRIPTION

Removes the given file path as "locked" on the Git LFS server. Files
must exist and have a clean git status before they can be unlocked. The
`--force` flag will skip these checks.

== OPTIONS

`-r <name>`::
`--remote=<name>`::
   Specify the Git LFS server to use. Ignored if the `lfs.url` config key is
   set.
`-f`::
`--force`::
   Tells the server to remove the lock, even if it's owned by another user.
`-i <id>`::
`--id=<id>`::
   Specifies a lock by its ID instead of path.
`--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-locks(1).

Part of the git-lfs(1) suite.