aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-09-28 12:36:10 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-09-28 12:36:10 -0400
commit5b3ff3fb3c8c4191e0d0a7653014d0b5fd9a0120 (patch)
treec92045726b3768319d060a53459b46ae73ff445f /doc
parent212d9db545ef30fd42bfb6848cef37a36976cc17 (diff)
metadata: Added --remove-all.
Motivation is to remove all metadata when it gets copied from a previous version of the file, and that is not deisrable. This commit was supported by the NSF-funded DataLad project.
Diffstat (limited to 'doc')
-rw-r--r--doc/git-annex-metadata.mdwn9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/git-annex-metadata.mdwn b/doc/git-annex-metadata.mdwn
index fde4443dc..fa1a884b3 100644
--- a/doc/git-annex-metadata.mdwn
+++ b/doc/git-annex-metadata.mdwn
@@ -60,6 +60,15 @@ automatically.
Unset a tag.
+* `--remove-all`
+
+ Remove all metadata from the specified files.
+
+ When a file is modified and the new version added, git-annex will copy
+ over the metadata from the old version of the file. In situations where
+ you don't want that copied metadata, you can use this option to remove
+ it.
+
* `--force`
By default, `git annex metadata` refuses to recursively set metadata