---
name: "git-annex-group"
section: "1"
platform: "linux"
package: "git-annex"
version: "10.20261026-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/git-annex-group"
---

# git-annex-group(1)

add a repository to a group

## 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)](/git-annex-common-options/1.md) can be used.

  ## SEE ALSO

[git-annex(1)](/git-annex/1.md)

[git-annex-ungroup(1)](/git-annex-ungroup/1.md)

[git-annex-preferred-content(1)](/git-annex-preferred-content/1.md)

[git-annex-wanted(1)](/git-annex-wanted/1.md)

## AUTHOR

Joey Hess \<id@joeyh.name\>
