DOKK / manpages / debian 12 / gh / gh-repo-rename.1.en
GH-REPO-RENAME(1) GitHub CLI manual GH-REPO-RENAME(1)

gh-repo-rename - Rename a repository

gh repo rename [<new-name>] [flags]

Rename a GitHub repository.

By default, this renames the current repository; otherwise renames the specified repository.

-R, --repo <[HOST/]OWNER/REPO>
Select another repository using the [HOST/]OWNER/REPO format

-y, --yes
Skip the confirmation prompt

gh-repo(1)

Feb 2023