-
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
Documentation and/or command to update credentials #2791
Comments
I totally agree with this issue. Also, if you've deleted the |
I believe when it asks you for your password, you're supposed to enter your token. There's a PR to update the prompt to ask for a token rather than a password, but I'm starting to learn this repo seems dead. |
@jroper https://mislav.net/2020/01/github-cli/ looks like so... @mislav would you be so kind and either mention if this repo/app is out of maintenance and/pr archieve the repo stating where to go to? So that people don't try to solve problems that aren't going to be merged... (until somebody decides to fork I guess) |
I don't seem to be able to set my credentials at all from the command line (hitting enter just displays |
Sorry for the inconvenience, everyone. We absolutely need better behavior and better documentation around authenticating. For the time being, I'm going to close this as a duplicate of #2655 (comment) |
I got an email from GitHub today asking me to regenerate the access token that hub uses to the new format, which I did. So I now have the new token... what do I do with it? I run
hub help
, nothing in there about authentication, tokens, configuration files, etc. I visit https://hub.github.com/, nothing there about tokens, authentication, configuration files. I go to https://github.com/github/hub, nothing there either. I try running a hub command, it just tells meBad credentials
, no instructions of how to update my credentials or anything. So what do I do with the token I just generated? I eventually searched issues for configuration file, and found that the configuration file for hub is~/.config/hub
, I opened that, pasted in my token, and I'm good to go. But I shouldn't have to search unrelated issues to get the answer to something is basic as this, there should at least be documentation on how to update the token, and maybe even a command to let you set a new token for when you get emails from GitHub asking you to regenerate tokens.The text was updated successfully, but these errors were encountered: