1git-annex-required(1) General Commands Manual git-annex-required(1)
2
3
4
6 git-annex-required - get or set required content expression
7
9 git annex required repository [expression]
10
12 When run with an expression, configures the content that is required to
13 be held in the archive.
14
15 For example:
16
17 git annex required . "include=*.mp3 or include=*.ogg"
18
19 Without an expression, displays the current required content setting of
20 the repository.
21
22 While git-annex-wanted(1) is just a preference, this designates content
23 that should really not be removed. For example a file that is wanted
24 can be removed with git annex drop, but if that file is required, it
25 would need to be removed with git annex drop --force.
26
27 Also, git-annex fsck will warn about required contents that are not
28 present.
29
31 The required command was added in git-annex 5.20150420.
32
34 git-annex(1)
35
36 git-annex-wanted(1)
37
38 git-annex-preferred-content(1)
39
41 Joey Hess <id@joeyh.name>
42
43 git-annex-required(1)