# NAME
git-annex group - add a repository to a group
# SYNOPSIS
git annex group `repository [groupname]`
# DESCRIPTION
Adds a repository to a group, such as "archive" or "transfer".
The groupname must be a single word.
Omit the groupname to show the current groups that a repository is in.
There are some standard groups that have different default preferred content
settings. See
A repository can be in multiple groups at the same time.
# OPTIONS
* `--list`
Outputs a list of all groups that are used by at least one repository.
* Also the [[git-annex-common-options]](1) can be used.
# SEE ALSO
[[git-annex]](1)
[[git-annex-ungroup]](1)
[[git-annex-preferred-content]](1)
[[git-annex-wanted]](1)
# AUTHOR
Joey Hess
Warning: Automatically converted into a man page by mdwn2man. Edit with care.