1git-annex-lock(1)           General Commands Manual          git-annex-lock(1)
2
3
4

NAME

6       git-annex-lock - lock files to prevent modification
7

SYNOPSIS

9       git annex lock [path ...]
10

DESCRIPTION

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

OPTIONS

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 in‐
31              cluded in the JSON instead.
32
33       Also the git-annex-common-options(1) can be used.
34

SEE ALSO

36       git-annex(1)
37
38       git-annex-add(1)
39
40       git-annex-unlock(1)
41

AUTHOR

43       Joey Hess <id@joeyh.name>
44
45                                                             git-annex-lock(1)
Impressum