Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change Github user for Github Copilot in IntelliJ

I accidently logged into wrong github user for activating GitHub Copilot. I am not able to switch and continue to validate against the same user. Neither restart nor reinstall plugin helps here.

like image 952
jprism Avatar asked Feb 01 '26 09:02

jprism


2 Answers

In my case, for Android Studio, I found the Github Copilot icon at the bottom right and from there I was able to log in/out to switch accounts. See the picture below.

enter image description here

like image 76
Alevittoria Avatar answered Feb 03 '26 09:02

Alevittoria


Took sometime but figured out. Posting the answer here hoping it will help some one.

All you have to do is , go to C:\Users<username>\AppData\Local\github-copilot and remove apps.json, restart the IDE. It will prompt again to sign in at Github.

like image 36
jprism Avatar answered Feb 03 '26 09:02

jprism