Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ Github Issue

Trying to push a project to github and I'm getting the following Error

remote: Permission to RedNetty/RedPractice.git denied to JackCDev.
fatal: unable to access 'https://github.com/RedNetty/RedPractice.git/': The requested URL returned error: 403

The issue isn't as simple as me going into Settings > Version Control > Github

I've already changed that but its still trying to push via the wrong account.

like image 412
Red Avatar asked Jul 19 '26 18:07

Red


1 Answers

Check if you have a git **credential helper**active:

git config credential.helper

For instance, on Windows, that would be the Windows Credential Managers.
Open the Windows Credential Store, and see if the first user is registered there: delete that entry, and you will be able to authenticate with the second user.

(Here is an example for BitBucket)

https://kwilson.io/blog/wp-content/uploads/2015/01/4-store.png

like image 55
VonC Avatar answered Jul 22 '26 17:07

VonC



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!