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 git-annex-common-options(1) can be used.
32
34 The required command was added in git-annex 5.20150420.
35
37 git-annex(1)
38
39 git-annex-wanted(1)
40
41 git-annex-preferred-content(1)
42
44 Joey Hess <id@joeyh.name>
45
46 git-annex-required(1)