After GitHub Copilot signed me out unexpectedly in VS Code, I was unable to sign in again. The "Sign in" button in the Copilot extension panel was unresponsive — clicking it did nothing.
I tried:
Nothing helped.
I clicked the option to sign in via ghe.com instance (GitHub Enterprise Cloud), thinking it might help. After that:
ghe.com
)How can I reset GitHub Copilot in VS Code to sign in with my GitHub.com account again?
I'm looking for a way to:
Environment
1.100
The fix is to manually remove the GitHub Copilot login preferences from your VS Code settings.json
.
Steps:
Open the command palette (Cmd+Shift+P or Ctrl+Shift+P)
Choose Preferences: Open Settings (JSON)
Look for this block:
"github.copilot.advanced": {
"serverUrl": "https://yourcompany.ghe.com"
}