git-annex/doc/git-annex-group.mdwn
Joey Hess 98762a2f96
group: Added --list option
Seemed to make sense to exclude groups used only by dead repositories.
2024-05-29 13:37:35 -04:00

43 lines
905 B
Markdown

# 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 <https://git-annex.branchable.com/preferred_content/standard_groups/>
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 <id@joeyh.name>
Warning: Automatically converted into a man page by mdwn2man. Edit with care.