---
name: "gt-repo"
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-repo"
---

# gt-repo(1)

Work with Gitea repositories

## NAME

gt-repo - Work with Gitea repositories

## SYNOPSIS

**gt repo \[flags\]**

## DESCRIPTION

Work with Gitea repositories: list and view them, create, fork, clone and migrate them, keep local branches and forks in sync, and change their settings.

## OPTIONS

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

## OPTIONS INHERITED FROM PARENT COMMANDS

**--cwd**=""\
 	Working **directory** for repository discovery

**--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

**--remote**=""\
 	Git **remote** used for repository discovery

**-R**, **--repo**=""\
 	Select a repository as **OWNER/REPO** or URL

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

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

## SEE ALSO

**[gt(1)](/man/gt/1.md)**, **[gt-repo-archive(1)](/man/gt-repo-archive/1.md)**, **[gt-repo-clone(1)](/man/gt-repo-clone/1.md)**, **[gt-repo-create(1)](/man/gt-repo-create/1.md)**, **[gt-repo-delete(1)](/man/gt-repo-delete/1.md)**, **[gt-repo-deploy-key(1)](/man/gt-repo-deploy-key/1.md)**, **[gt-repo-edit(1)](/man/gt-repo-edit/1.md)**, **[gt-repo-fork(1)](/man/gt-repo-fork/1.md)**, **[gt-repo-list(1)](/man/gt-repo-list/1.md)**, **[gt-repo-migrate(1)](/man/gt-repo-migrate/1.md)**, **[gt-repo-rename(1)](/man/gt-repo-rename/1.md)**, **[gt-repo-set-default(1)](/man/gt-repo-set-default/1.md)**, **[gt-repo-sync(1)](/man/gt-repo-sync/1.md)**, **[gt-repo-transfer(1)](/man/gt-repo-transfer/1.md)**, **[gt-repo-unarchive(1)](/man/gt-repo-unarchive/1.md)**, **[gt-repo-view(1)](/man/gt-repo-view/1.md)**
