Skip to content

GitHub CLI auth multiple hosts #1355

Description

@eygraber

I use gh with a GHES and github.com

It would be nice if git-spice would be able to use the --hostname flag based on the remote in the git repo to retrieve the correct token for the repo (e.g. gh auth login --hostname github.com vs gh auth login --hostname github.mycorp.com).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions