User1
January 31, 2025, 7:14am
1
I have to use work account for Github Copilot (to use o1 havily) and personal github accout for Cursor
Unlike VS Code, I can not use a separate account for Github Copilot, the switch does not work.
Steps to reproduce:
Open Extensions, find Github Copilot
Click gear icon
Click Account preferences
Select required account
Start any chat in Github Copilot Chat
See that old account is used
I have tried to log out from all accounts and login first to github account for Copilot
If I try to push code to personal account - Copilot switches automatically to personal account from work account. In VSCode it works fine
Details:
Version: 0.45.7
VSCode Version: 1.96.2
Commit: 6ea842450e04c5537da4d83d51823fae13bb30f0
Date: 2025-01-30T18:32:32.733Z (12 hrs ago)
Electron: 32.2.6
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Windows_NT x64 10.0.22631
User1
January 31, 2025, 7:21am
2
@deanrie Could you take a look, please?
Hey, did I understand correctly that you want to use two different accounts? Unfortunately, it’s not working for me either. I’ll report this to our team.
User1
January 31, 2025, 8:45am
4
Yes, correct. I have to use 2 github accounts for my work
1 Like
deanrie
January 31, 2025, 12:26pm
5
Are you sure this works in VS Code? I just tried to do the same thing, and it didn’t work for me.
User1
January 31, 2025, 3:09pm
6
Yes
I have used this solution How can I switch the Github account associated with Github Copilot in Visual Studio? · community · Discussion #68770 · GitHub
Environment:
Version: 1.96.4 (user setup)
Commit: cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba
Date: 2025-01-16T00:16:19.038Z (2 weeks ago)
Electron: 32.2.6
ElectronBuildId: 10629634
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Windows_NT x64 10.0.22631
I have checked only this path:
Open Extensions, find Github Copilot
Click gear icon
Click Account preferences
Select required account
Start any chat in Github Copilot Chat
See new account is used
User1
January 31, 2025, 3:10pm
7
Also you may need reload VSCode
Ah, okay, let me test it.
I got it to work, but you need to do this with the GitHub Copilot Chat extension, not GitHub Copilot. It works for me.
1 Like
User1
January 31, 2025, 4:33pm
10
Oh. You are lifesaver
Thank you a lot for your work!
1 Like
deanrie:
GitHub Copilot Chat
Can here to say thanks too!
1 Like