1git-annex-lock(1) General Commands Manual git-annex-lock(1)
2
3
4
6 git-annex-lock - lock files to prevent modification
7
9 git annex lock [path ...]
10
12 Lock the specified annexed files, to prevent them from being modified.
13 When no files are specified, all annexed files in the current directory
14 are locked.
15
16 Locking a file changes how it is stored in the git repository (from a
17 pointer file to a symlink), so this command will make a change that you
18 can commit.
19
21 file matching options
22
23 The git-annex-matching-options(1) can be used to specify files
24 to lock.
25
26 --json Enable JSON output. This is intended to be parsed by programs
27 that use git-annex. Each line of output is a JSON object.
28
29 --json-error-messages
30 Messages that would normally be output to standard error are
31 included in the json instead.
32
34 git-annex(1)
35
36 git-annex-add(1)
37
38 git-annex-unlock(1)
39
41 Joey Hess <id@joeyh.name>
42
43 git-annex-lock(1)