summaryrefslogtreecommitdiff
path: root/doc/git-annex.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-02-19 15:04:12 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-02-19 15:04:12 -0400
commit22b8d9c7603d6ed610ed9bbc3e59dbdb39e885c5 (patch)
tree4317729e3b08eb4b9fc8d87db68e127c71d572e5 /doc/git-annex.mdwn
parent57ab2130132c016790afe800a28c6fd88a5fca7b (diff)
metadata: add --tag and --untag shorthand options
Diffstat (limited to 'doc/git-annex.mdwn')
-rw-r--r--doc/git-annex.mdwn6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn
index 6306a742a..23002cb9a 100644
--- a/doc/git-annex.mdwn
+++ b/doc/git-annex.mdwn
@@ -708,9 +708,11 @@ subdirectories).
To remove a value, use -s field-=value.
- For example, to set some tags on a file:
+ To set a tag, use -t tag, and use -u tag to remove a tag.
- git annex metadata annexscreencast.ogv -s tag+=video -s tag+=screencast
+ For example, to set some tags on a file and also its author:
+
+ git annex metadata annexscreencast.ogv -t video -t screencast -s author+=Alice
* `view [field=value ...] [tag ...]`