aboutsummaryrefslogtreecommitdiff
path: root/doc/git-annex-lock.mdwn
blob: c13654dbe3bc8da4de1f8f2db358e3fc08432fbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# NAME

git-annex lock - undo unlock command

# SYNOPSIS

git annex lock `[path ...]`

# DESCRIPTION

Use this to undo an unlock command if you don't want to modify
the files any longer, or have made modifications you want to discard.

# OPTIONS

* file matching options
 
  The [[git-annex-matching-options]](1)
  can be used to specify files to lock.

* `--json`

  Enable JSON output. This is intended to be parsed by programs that use
  git-annex. Each line of output is a JSON object.

* `--json-error-messages`

  Messages that would normally be output to standard error are included in
  the json instead.

# SEE ALSO

[[git-annex]](1)

[[git-annex-add]](1)

[[git-annex-unlock]](1)

# AUTHOR

Joey Hess <id@joeyh.name>

Warning: Automatically converted into a man page by mdwn2man. Edit with care.