Skip to content

Documentation and/or command to update credentials #2791

@jroper

Description

@jroper

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 me Bad 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions