-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Closed
Labels
coreThis issue is not accepting PRs from outside contributorsThis issue is not accepting PRs from outside contributorsdocsgh-authrelating to the gh auth commandrelating to the gh auth command
Description
Describe the bug
Have two different accounts, one is my personal one and the other its from from github enterprise.
I'm able to push, commit, etc with both my accounts but apparently I have been committing to the enterprise with my personal one because both of the accounts are shown as active, and the gh auth switch doesn't do anything.
For context, I have two different SSH keys and used each one to configure the gh cli but was expecting to have one as active and the other to not be active.
Tried doing it all over again, with HTTPS instead with no luck
I'm using gh version 2.48.0
Steps to reproduce the behavior
- Add multiple accounts
- check
gh auth statusto see if both are active at the same time
Expected vs actual behavior
I expected to one account with active on true and the other on false
Metadata
Metadata
Assignees
Labels
coreThis issue is not accepting PRs from outside contributorsThis issue is not accepting PRs from outside contributorsdocsgh-authrelating to the gh auth commandrelating to the gh auth command
