Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up`gh repo clone` doesn't use canonical capitalisation for remote URL #1845
Comments
|
Excellent point. Thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
If you clone e.g. https://github.com/HackSoc/uno by typing
gh repo clone hacksoc/uno, then the remote URL will refer tohacksoc/uno.gitwhen it should be capitalised asHackSoc/uno.git. This means that GitHub will complain at you when you push:Steps to reproduce the behavior
gh repo clonewith uncanonical capitalisationExpected vs actual behavior
ghshould use the canonical capitalisation for remote URLs, regardless of the capitalisation used in the shorthandusername/repoinput.