clarified that metadata is attached to file contents not file itself

This commit is contained in:
Ilya_Shlyakhter 2018-09-25 17:10:34 +00:00 committed by admin
parent 7a9c2f3ac3
commit fb4d044ae6

View file

@ -22,6 +22,14 @@ contains the date the field was last changed. Unlike other metadata,
this cannot be directly modified by this command. It is updated
automatically.
Note that the metadata is attached to the particular content of a file
(or rather to a particular [key](http://git-annex.branchable.com/backends/)),
not to a particular file on a particular git branch. All files with given
content share the same metadata, which is stored on the
[git-annex branch](http://git-annex.branchable.com/internals#The_git-annex_branch).
If a file is [edited](http://git-annex.branchable.com/git-annex-unlock/),
old metadata will be transferred to the new contents when you [[git-annex-add]] the edited file.
# OPTIONS
* `-g field` / `--get field`