gh repo rename [new-name]

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

Arguments

NameDescription
new-name

Options

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