Skip to content

Add VS Code configuration for multiple GitHub accounts#29

Draft
Copilot wants to merge 3 commits intobosch-SDK-10-1-integration-branchfrom
copilot/add-github-credentials-support
Draft

Add VS Code configuration for multiple GitHub accounts#29
Copilot wants to merge 3 commits intobosch-SDK-10-1-integration-branchfrom
copilot/add-github-credentials-support

Conversation

Copy link

Copilot AI commented Jan 15, 2026

Enables developers to authenticate and switch between multiple GitHub accounts within VS Code.

Changes

.vscode/settings.json

  • Enables GitHub authentication and configures Pull Request/Issue queries
  • Disables commit signing by default to prevent GPG key conflicts when switching accounts
  • Requires per-repository git user configuration

.vscode/extensions.json

  • Recommends GitHub Pull Requests and Issues, GitHub Repositories, and GitLens extensions

.vscode/README.md

  • Documents authentication workflow and account switching via Command Palette
  • Provides conditional git config examples for managing separate identities per directory
  • Includes troubleshooting for common multi-account scenarios

Usage

Sign in with multiple accounts:

Cmd/Ctrl+Shift+P → "GitHub: Sign in" → Authenticate in browser

Switch accounts via status bar or use conditional git configs:

[includeIf "gitdir:~/work/personal/"]
    path = ~/.gitconfig-personal
[includeIf "gitdir:~/work/company/"]
    path = ~/.gitconfig-company
Original prompt

add one more Github credentials to sign on and uthe both in VS code


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Add support for multiple GitHub credentials in VS Code Add VS Code configuration for multiple GitHub accounts Jan 15, 2026
Copilot AI requested a review from SergejNegerisch January 15, 2026 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants