layout
This commit is contained in:
parent
c30281577f
commit
3282976fce
1 changed files with 9 additions and 5 deletions
|
@ -13,16 +13,20 @@ Each repository can have its own settings, and other repositories will
|
||||||
try to honor those settings when interacting with it.
|
try to honor those settings when interacting with it.
|
||||||
So there's no local `.git/config` for preferred content settings.
|
So there's no local `.git/config` for preferred content settings.
|
||||||
|
|
||||||
The idea is that you write an expression that files are matched against.
|
[[!template id=note text="""
|
||||||
If a file matches, it's preferred to have its content stored in the
|
### [[canned preferred content|standard_groups]]
|
||||||
repository. If it doesn't, it's preferred to drop its content from
|
|
||||||
the repository (if there are enough copies elsewhere).
|
|
||||||
|
|
||||||
Rather than writing your own preferred content expression, you can use
|
Rather than writing your own preferred content expression, you can use
|
||||||
several canned ones included in git-annex that are tuned to cover different
|
several canned ones included in git-annex that are tuned to cover different
|
||||||
common use cases. You do this by putting a repository in a group,
|
common use cases. You do this by putting a repository in a group,
|
||||||
and simply setting its preferred content to "standard" to match whatever
|
and simply setting its preferred content to "standard" to match whatever
|
||||||
is standard for that group. See [[standard_groups]].
|
is standard for that group. See [[standard_groups]] for a list.
|
||||||
|
"""]]
|
||||||
|
|
||||||
|
The idea is that you write an expression that files are matched against.
|
||||||
|
If a file matches, it's preferred to have its content stored in the
|
||||||
|
repository. If it doesn't, it's preferred to drop its content from
|
||||||
|
the repository (if there are enough copies elsewhere).
|
||||||
|
|
||||||
To check at the command line which files are matched by preferred content
|
To check at the command line which files are matched by preferred content
|
||||||
settings, you can use the --want-get and --want-drop options.
|
settings, you can use the --want-get and --want-drop options.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue