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