How to reset or change the Git user IntelliJ is authenticating with?

I'm struggling to get IntelliJ to authenticate with GitHub using the correct user. Previously, I authenticated with a different user but had to change it. Now, IntelliJ always logs in with the first user and I cannot get it to change to my new user.

I have tried resetting passwords in 'Appearance and Behaviour' and have got only the correct user in the 'Version Control' section, neither have worked.

How do you change the git credentials that IntelliJ is authenticating with?

Referencing this as the error I'm getting:

Remote: Permission to NewUser/GamesCore.git denied to OldUser. unable to access '': The requested URL returned error: 403

1 Answer

On Windows 10:

Remove or update the Credentials stored in Windows Credentials at Control Panel\All Control Panel Items\Credential Manager.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like