26d23e38f1
Docs say vicfg can configure everything from git-annex branch, so it ought to configure numcopies. Note that commenting out existing numcopies does not unset it. This commit was sponsored by Thom May on Patreon.
34 lines
798 B
Markdown
34 lines
798 B
Markdown
# NAME
|
|
|
|
git-annex numcopies - configure desired number of copies
|
|
|
|
# SYNOPSIS
|
|
|
|
git annex numcopies `N`
|
|
|
|
# DESCRIPTION
|
|
|
|
Tells git-annex how many copies it should preserve of files, over all
|
|
repositories. The default is 1.
|
|
|
|
Run without a number to get the current value.
|
|
|
|
This configuration is stored in the git-annex branch, so it will be seen
|
|
by all clones of the repository.
|
|
|
|
When git-annex is asked to drop a file, it first verifies that the
|
|
required number of copies can be satisfied among all the other
|
|
repositories that have a copy of the file.
|
|
|
|
This can be overridden on a per-file basis by the annex.numcopies setting
|
|
in .gitattributes files.
|
|
|
|
# SEE ALSO
|
|
|
|
[[git-annex]](1)
|
|
|
|
# AUTHOR
|
|
|
|
Joey Hess <id@joeyh.name>
|
|
|
|
Warning: Automatically converted into a man page by mdwn2man. Edit with care.
|