You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Replace "GitHub Enterprise Server" option with "other" in gh auth login prompting #9641
Currently, when proceeding through an interactive gh auth login flow, the user is presented with two options:
➜ gh auth login
? What account do you want to log into? [Use arrows to move, type to filter]
> GitHub.com
GitHub Enterprise Server
However, the login flow offered by the "GitHub Enterprise Server" selection works for any hostname - not just GitHub Enterprise Server customers. We think it would be better to work with users by the domain names they know:
➜ gh auth login
? Where do you use GitHub? [Use arrows to move, type to filter]
github.com
> other
? Hostname:
Acceptance Criteria
Given I am in an interactive terminal environment When I run gh auth login Then I am presented with:
➜ gh auth login
? Where do you use GitHub? [Use arrows to move, type to filter]
github.com
> other
? Hostname:
Activity
jtmcg commentedon Sep 19, 2024
I'm interested in feedback on the documentation I've added to better support this change 🙂
isaacmbrown commentedon Oct 7, 2024
FYI, made a small update to the GitHub Docs site to accommodate this: https://github.com/github/docs-internal/pull/52551