1git-annex-numcopies(1) General Commands Manual git-annex-numcopies(1)
2
3
4
6 git-annex-numcopies - configure desired number of copies
7
9 git annex numcopies N
10
12 Tells git-annex how many copies it should preserve of files, over all
13 repositories. The default is 1.
14
15 Run without a number to get the current value.
16
17 This configuration is stored in the git-annex branch, so it will be
18 seen by all clones of the repository. It can be overridden on a
19 per-file basis by the annex.numcopies setting in .gitattributes files,
20 or can be overridden temporarily with the --numcopies option.
21
22 When git-annex is asked to drop a file, it first verifies that the num‐
23 ber of copies can be satisfied among all the other repositories that
24 have a copy of the file.
25
26 In unusual situations, involving special remotes that do not support
27 locking, and concurrent drops of the same content from multiple reposi‐
28 tories, git-annex may violate the numcopies setting. It still guaran‐
29 tees at least 1 copy is preserved. This can be configured by using git-
30 annex-mincopies(1)
31
33 The git-annex-common-options(1) can be used.
34
36 git-annex(1) git-annex-mincopies(1)
37
39 Joey Hess <id@joeyh.name>
40
41 git-annex-numcopies(1)