-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hub decides usernames shouldn't be capitalized #263
Comments
Thanks for the report! Fixed in master branch. |
I suspect this runs deeper, unfortunately:
I'm happy to open a separate issue for this, if you'd like. :) |
Something I realize I hadn't explicitly called out above: both the remote name and url are impacted. |
I think you entered it lowercase yourself when you first But sure, this is a bug. Even if you entered it wrong, hub should read |
Huh. I didn't even realize there was a ~/.hub/config; I thought hub just read from ~/.gitconfig (where github.user is set correctly) and stashed the oauth2 token... somewhere. le sigh You're right; it was set as 'rsrchBoy' in hub's config; that's been corrected :) |
Nope hub doesn't read Just pushed a change that makes sure that the username gets stored with correct capitalization. However it's still possible to cause some commands to fail by entering your login name in wrong case the first time around. I don't worry too much about this, since Unix is mostly case-sensitive so this shouldn't be a surprise, and these edge-cases are hard to hit. |
Awesome, thanks! :) |
How the bloody hell do you undo first time around?! I have deleted |
@sukima What is the issue you're struggling with? Your username contains only lowercase letters, so I don't think it's the same issue as in this thread? |
Apologies for the frustrated post. Heres what happened. I installed hub (via homebrew) I ran a github based command (like fork) and it asked for my OAuth key. I created one entered it in. I verified that Again apologies for the frustration and it is very possible that this is not related to this issue. |
Is the problem username ("sukima") capitalization or the capitalization of the repository name? If the latter, then it sounds like #253 and it has nothing to do with authentication or any information in |
Setup:
Checking github.com forkwas created. Then checking remotes. Expected:
instead I get:
My
I have no idea why this file just keeps getting longer and longer. git version 1.8.3.1 |
Do you by chance have |
You have got to be kidding me?! After all that it was the I feel a little silly now. I apologize for spamming this conversation. Good news is if someone else gets bit with this Google might find this thread. @mislav, thank you, you are clever. |
Whenever I try to create, or fork, or.... a repo with hub, this happens:
As you can imagine, I feel pretty deflated and depressed that, well, my R is being squashed.
Note that the action succeeds (e.g. the repo was created).
The text was updated successfully, but these errors were encountered: