gh repo rename [new-name]
Rename a GitHub repository. By default, this renames the current repository; otherwise renames the specified repository
Arguments
Name | Description |
---|---|
new-name |
Options
Name | Description |
---|---|
-y, --confirm | Skip 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 |