1GIT-LFS-UNLOCK(1) General Commands Manual 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 an‐
24 other user.
25
26 -i <id> --id=<id>
27 Specifies a lock by its ID instead of path.
28
29 --json Writes lock info as JSON to STDOUT if the command exits success‐
30 fully. Intended for interoperation with external tools. If the
31 command returns with a non-zero exit code, plain text messages
32 will be sent to STDERR.
33
35 git-lfs-lock(1), git-lfs-locks(1).
36
37 Part of the git-lfs(1) suite.
38
39
40
41 March 2021 GIT-LFS-UNLOCK(1)