---
name: "gt-team-repo-add"
section: "1"
platform: "linux"
package: "gitea-cli"
version: "1.0.0-1"
release: "Arch Linux 2026-11-07"
platforms: ["linux"]
url: "https://carta.tech/man/gt-team-repo-add"
---

# gt-team-repo-add(1)

Grant a team access to repositories

## NAME

gt-team-repo-add - Grant a team access to repositories

## SYNOPSIS

**gt team repo add \<team\> \<repository\>... \[flags\]**

## DESCRIPTION

Grant a team access to repositories of its organization. Name the repositories alone, such as service, or as ORG/NAME; repositories of other owners cannot be granted to a team.

### ARGUMENTS

```
A team can be supplied as ORG/TEAM, such as acme/developers, where TEAM is the team's
name or ID, or as its numeric ID alone.
```

## OPTIONS

**-h**, **--help**\[=false\]\
 	help for add

## OPTIONS INHERITED FROM PARENT COMMANDS

**--debug**\[=false\]\
 	Log the method, URL, status, and duration of each HTTP request to stderr

**--host**=""\
 	Gitea instance **URL**, including any base path

**--interactive**\[=false\]\
 	Allow prompts with machine output

**--no-input**\[=false\]\
 	Disable prompts and implicit editor/browser interactions

**--sudo**=""\
 	Perform API requests as this **user** (requires an administrator account)

**--user**=""\
 	Account **name** on the selected instance

## EXAMPLE

```
$ gt team repo add acme/developers service
$ gt team repo add 2 acme/service acme/website
```

## SEE ALSO

**[gt-team-repo(1)](/man/gt-team-repo/1.md)**
