table of contents
| GT-TEAM-REPO-ADD(1) | gitea-cli Manual | GT-TEAM-REPO-ADD(1) |
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¶
--dry-run[=false] Show the write requests gt would send, without sending them
-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¶
| Nov 2026 | gitea-cli |