summaryrefslogtreecommitdiff
path: root/doc/git-annex-groupwanted.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-03-23 18:20:42 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-03-23 18:20:42 -0400
commitd17d5a77893ac01fc7c29f92447a3e85e3501d9f (patch)
tree5be49dd57a28ee56001023893f806b15dcd4c008 /doc/git-annex-groupwanted.mdwn
parent277b7335378e41d1a0ecb5fdc93760435b05fc5d (diff)
separated man pages for all the setup commands while at the gate in ATL
Diffstat (limited to 'doc/git-annex-groupwanted.mdwn')
-rw-r--r--doc/git-annex-groupwanted.mdwn32
1 files changed, 32 insertions, 0 deletions
diff --git a/doc/git-annex-groupwanted.mdwn b/doc/git-annex-groupwanted.mdwn
new file mode 100644
index 000000000..ef20ccd3e
--- /dev/null
+++ b/doc/git-annex-groupwanted.mdwn
@@ -0,0 +1,32 @@
+# NAME
+
+git-annex groupwanted - get or set groupwanted expression
+
+# SYNOPSIS
+
+git annex groupwanted `groupname [expression]`
+
+# DESCRIPTION
+
+Sets or displays the groupwanted expression. This will be used by
+repositories that are in the group, and that have their preferred
+content expression set to "groupwanted".
+
+For example, to configure a group named redundantarchive, and
+make repositories in the group want to contain 3 copies of every file:
+
+ git annex groupwanted redundantarchive "not (copies=redundantarchive:3)"
+ for repo in foo bar baz; do
+ git annex group $repo redundantarchive
+ git annex wanted $repo groupwanted
+ done
+
+# SEE ALSO
+
+[[git-annex]](1)
+
+# AUTHOR
+
+Joey Hess <id@joeyh.name>
+
+Warning: Automatically converted into a man page by mdwn2man. Edit with care.