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

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

See also