Skip to content

Document hub config file format #2526

@gibfahn

Description

@gibfahn

It would be nice to document the hub config file format somewhere.

When I set this up I had to read through the hub source to work out what the config should look like, and was unable to get toml to work.

For example my current config looks like this:

github.com:
- user: <username>
  oauth_token: "<token>"
  protocol: https

# GHE
github.<myorg>.com:
- user: <username>
  oauth_token: "<token>"
  protocol: https

I'd be happy to raise a PR, but I'm not sure where the best place would be, maybe in the README? In man hub?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions