-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Closed
Labels
bugSomething isn't workingSomething isn't workinggh-reporelating to the gh repo commandrelating to the gh repo commandhelp wantedContributions welcomeContributions welcomep3Affects a small number of users or is largely cosmeticAffects a small number of users or is largely cosmetic
Description
Describe the bug
gh version 2.63.0 (2024-11-27)
https://github.com/cli/cli/releases/tag/v2.63.0
I renamed my repo using gh repo rename polyseam/frappe-containers, this resulted in the preview being correct:
? Rename polyseam/containers to polyseam/frappe-containers? Yes
but the result being wrong:
✓ Renamed repository polyseam/polyseam-frappe-containers
Steps to reproduce the behavior
gh repo create org/foo-repo --private --clone- cd
foo-repo gh repo rename org/bar-repo- note the confirm prompt is correct
- enter
Yes - note the incorrect result: "✓ Renamed repository org/org-bar-repo"
Expected vs actual behavior
The resulting repo name should not be prefixed with orgname- and should instead match the preview in step 4.
Logs
Paste the activity from your command line. Redact if needed.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggh-reporelating to the gh repo commandrelating to the gh repo commandhelp wantedContributions welcomeContributions welcomep3Affects a small number of users or is largely cosmeticAffects a small number of users or is largely cosmetic