gh repo rename

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

Rename a GitHub repository.

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

Options

-R, --repo <[HOST/]OWNER/REPO>
Select another repository using the [HOST/]OWNER/REPO format
-y, --yes
Skip the confirmation prompt

See also