-
Notifications
You must be signed in to change notification settings - Fork 40.4k
Multiple GitHub account support #127967
Copy link
Copy link
Closed
Labels
authentication-githubIssues with the GitHub Authentication extensionIssues with the GitHub Authentication extensionfeature-requestRequest for new features or functionalityRequest for new features or functionalityon-release-notesIssue/pull request mentioned in release notesIssue/pull request mentioned in release noteson-testplan
Milestone
Metadata
Metadata
Assignees
Labels
authentication-githubIssues with the GitHub Authentication extensionIssues with the GitHub Authentication extensionfeature-requestRequest for new features or functionalityRequest for new features or functionalityon-release-notesIssue/pull request mentioned in release notesIssue/pull request mentioned in release noteson-testplan
Type
Fields
Give feedbackNo fields configured for issues without a type.
Many of us have dedicated accounts for work and non-work tasks. However, VSCode's GitHub authentication does not seem to support more than one GitHub account.
There are currently two ways of dealing with this;
As mentioned in #71253, one can use git config settings for separate accounts. This is a bothersome approach, and in some cases requires extra steps for every repository you are trying to access.
Alternatively, one can sign out, and sign in on the other account every time one changes between working on work-code, and non-work code. Again, this is a bothersome approach, and prone to frustration as you have to check which account you've signed in to.
Would it be possible for VSCode to support multiple GitHub accounts, so that it can ask you which credentials you want to use per repository?