How to logout from copilot? #161649
-
Select Topic AreaQuestion Copilot Feature AreaVS Code BodyI am trying to change the account associated to my GitHub Copilot and replace it with a different one. I can't seem to find a logout in the command panel or in the settings icon. How should I logout? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 3 replies
-
Beta Was this translation helpful? Give feedback.
-
How to Log Out of GitHub Copilot in VS CodeTo switch your GitHub Copilot account in VS Code, follow these steps:
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
For me it was:
|
Beta Was this translation helpful? Give feedback.
-
|
Yes, it is actually rather tricky and not that easy to find in Visual Studio Code. It does not work by logging out from Copilot per se but by signing out from the GitHub account within VS Code, and then you would be able to log into another account automatically. This is how it is supposed to be done: Use the Command Palette (Press Ctrl+Shift+P on your keyboard) By following this step, you would be logged out of your existing GitHub account and after that, you will have to sign in again with the new account, which Copilot will then attach to. As an alternative: Go to the Accounts button (bottom left or top right depending on the layout) Or, in case nothing else helps: Logout of VS code completely |
Beta Was this translation helpful? Give feedback.


I think I figured it out. Click on the (screenshot ->) , in that you should be able to see the (screenshot below)
Delete the account you don't want, the one with
(github), I was also using GitKraken attached to my GitHub account, so ignore the second one. Logging out from the copilot chat does nothing because it is linked to the GitHub account.