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